Home | History | Annotate | Download | only in libcap
      1 #
      2 # Makefile for libcap
      3 #
      4 topdir=$(shell pwd)
      5 include Make.Rules
      6 
      7 #
      8 # flags
      9 #
     10 
     11 all install clean: %: %-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 
     19 all-here:
     20 
     21 install-here:
     22 
     23 clean-here:
     24 	$(LOCALCLEAN)
     25 
     26 distclean: clean
     27 	$(DISTCLEAN)
     28 
     29 release: 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 
     33 tagrelease: 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