1 # 2 # Makefile for libcap 3 # 4 topdir=$(shell pwd) 5 include Make.Rules 6 7 # 8 # flags 9 # 10 11 all install clean kdebug: %: %-here 12 $(MAKE) -C libcap $@ 13 ifneq ($(PAM_CAP),no) 14 $(MAKE) -C pam_cap $@ 15 endif 16 $(MAKE) -C progs $@ 17 $(MAKE) -C doc $@ 18 $(MAKE) -C kdebug $@ 19 20 all-here: 21 22 install-here: 23 24 clean-here: 25 $(LOCALCLEAN) 26 27 distclean: clean 28 $(DISTCLEAN) 29 30 release: distclean 31 cd .. && ln -s libcap libcap-$(VERSION).$(MINOR) && tar cvf libcap-$(VERSION).$(MINOR).tar libcap-$(VERSION).$(MINOR)/* && rm libcap-$(VERSION).$(MINOR) 32 cd .. && gpg -sba -u E2CCF3F4 libcap-$(VERSION).$(MINOR).tar 33 34 tagrelease: distclean 35 @echo "sign the tag twice: older DSA key; and newer RSA kernel.org key" 36 git tag -u D41A6DF2 -s libcap-$(VERSION).$(MINOR) 37 git tag -u E2CCF3F4 -s libcap-korg-$(VERSION).$(MINOR) 38 make release 39