aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorAndrew G. Morgan <morgan@kernel.org>2000-12-02 08:21:13 +0000
committerAndrew G. Morgan <morgan@kernel.org>2000-12-02 08:21:13 +0000
commitd56ee3d363e0cb0512f5e911d6d69c26917db72d (patch)
tree7afeb20c634a8d5ef58189b2fe440bfe20dd7a48 /Makefile
parent9fb7bba9bd09a2c18d78700739f4500d372e95a9 (diff)
downloadpam-d56ee3d363e0cb0512f5e911d6d69c26917db72d.tar.gz
pam-d56ee3d363e0cb0512f5e911d6d69c26917db72d.tar.bz2
pam-d56ee3d363e0cb0512f5e911d6d69c26917db72d.zip
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.]
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile14
1 files changed, 13 insertions, 1 deletions
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