1# 2# Makefile for libcap 3# 4topdir=$(shell pwd) 5include Make.Rules 6 7# 8# flags 9# 10 11all install clean kdebug: %: %-here 12 $(MAKE) -C libcap $@ 13ifneq ($(PAM_CAP),no) 14 $(MAKE) -C pam_cap $@ 15endif 16 $(MAKE) -C progs $@ 17 $(MAKE) -C doc $@ 18 $(MAKE) -C kdebug $@ 19 20all-here: 21 22install-here: 23 24clean-here: 25 $(LOCALCLEAN) 26 27distclean: clean 28 $(DISTCLEAN) 29 30release: 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 34tagrelease: 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