diff options
author | Bart De Schuymer <bdschuym@pandora.be> | 2005-11-13 12:15:09 +0000 |
---|---|---|
committer | Bart De Schuymer <bdschuym@pandora.be> | 2005-11-13 12:15:09 +0000 |
commit | 15fa82ad2ed7671d31a7c8c382aa7a9bb219a814 (patch) | |
tree | aacbab2b1f7959ebfa0004bffa58ca51a41e7cbd /userspace/ebtables2/Makefile | |
parent | b71fa22ea8a8e687bd4348cfb34b2e593417a171 (diff) |
add rpmbuild
Diffstat (limited to 'userspace/ebtables2/Makefile')
-rw-r--r-- | userspace/ebtables2/Makefile | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/userspace/ebtables2/Makefile b/userspace/ebtables2/Makefile index 87eb55a..d765569 100644 --- a/userspace/ebtables2/Makefile +++ b/userspace/ebtables2/Makefile @@ -2,7 +2,7 @@ PROGNAME:=ebtables PROGVERSION:=2.0.8-rc1 -PROGDATE:=October\ 2005 +PROGDATE:=November\ 2005 # default paths LIBDIR:=/usr/lib @@ -178,7 +178,15 @@ release: touch include/* touch include/linux/* touch include/linux/netfilter_bridge/* - cd ..;tar -c $(DIR) | gzip >$(DIR).tar.gz + cd ..;tar -c $(DIR) | gzip >$(DIR).tar.gz; cd - + rm -rf include/linux + +# This will make the rpm and put it in /usr/src/redhat/RPMS +# (do this as root after make release) +.PHONY: rpmbuild +rpmbuild: + cp ../$(DIR).tar.gz /usr/src/redhat/SOURCES/ + rpmbuild --buildroot $(shell mktemp -d $(DIR)-XXXXX) -bb ebtables.spec .PHONY: test_ulog test_ulog: examples/ulog/test_ulog.c getethertype.o |