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