From d56ee3d363e0cb0512f5e911d6d69c26917db72d Mon Sep 17 00:00:00 2001 From: "Andrew G. Morgan" Date: Sat, 2 Dec 2000 08:21:13 +0000 Subject: Relevant BUGIDs: 124132 Purpose of commit: release Commit summary: --------------- Time to generate a release of Linux-PAM (0.73). Its almost been 12 months, and I'd really hate to actually have it hit a year exactly! [Let's hope subsequent releases will be more frequent.] --- Makefile | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index c17dc208..26e0f468 100644 --- a/Makefile +++ b/Makefile @@ -9,6 +9,8 @@ ## configure.in not getting propagated down the tree. (AGM) [I realise ## that this may not prove possible, but at least I tried.. Sigh.] +DISTNAME=Linux-PAM + ifeq ($(shell test \! -f Make.Rules || echo yes),yes) include Make.Rules endif @@ -24,7 +26,7 @@ prep: clean: if [ ! -f Make.Rules ]; then touch Make.Rules ; fi for i in $(THINGSTOMAKE) ; do $(MAKE) -C $$i clean ; done - rm -f security *~ *.orig *.rej #*# + rm -f security *~ *.orig *.rej Make.Rules #*# distclean: clean rm -f Make.Rules _pam_aconf.h @@ -60,6 +62,16 @@ remove: rm -f $(FAKEROOT)$(INCLUDED)/_pam_aconf.h for x in $(THINGSTOMAKE) ; do make -C $$x remove ; done +release: + @if [ ! -f Make.Rules ]; then echo make Make.Rules first ; exit 1; fi + @if [ ! -L ../$(DISTNAME)-$(MAJOR_REL).$(MINOR_REL) ]; then \ + echo generating ../$(DISTNAME)-$(MAJOR_REL).$(MINOR_REL) link ; \ + ln -sf $(DISTNAME) ../$(DISTNAME)-$(MAJOR_REL).$(MINOR_REL) ; \ + echo to ../$(DISTNAME) . ; fi + @diff ../$(DISTNAME)-$(MAJOR_REL).$(MINOR_REL)/Make.Rules Make.Rules + make distclean + cd .. ; tar zvfc $(DISTNAME)-$(MAJOR_REL).$(MINOR_REL).tar.gz --exclude CVS --exclude .cvsignore --exclude '.#*' $(DISTNAME)-$(MAJOR_REL).$(MINOR_REL)/* + ## ================= ifdef LEGACY_OLD_MAKEFILE -- cgit v1.2.1