]> granicus.if.org Git - linux-pam/commitdiff
Relevant BUGIDs: 422144
authorAndrew G. Morgan <morgan@kernel.org>
Tue, 8 May 2001 04:14:20 +0000 (04:14 +0000)
committerAndrew G. Morgan <morgan@kernel.org>
Tue, 8 May 2001 04:14:20 +0000 (04:14 +0000)
Purpose of commit: cleanup

Commit summary:
---------------
Replace 'make' with $(MAKE). This helps on systems that have gmake
and need to use it to build the distribution.

CHANGELOG
Makefile
doc/Makefile

index 02a679b8f04f0c7b35a46c2d623db8434a8d2a91..4379763fcb1410f0c47498b3ccd911e476e4d594 100644 (file)
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -49,6 +49,8 @@ bug report - outstanding bugs are listed here:
 0.76: please submit patches for this section with actual code/doc
       patches!
 
+* $(MAKE) instead of 'make' - from Scott T. Emery (Bug 422144 -
+  agmorgan)
 * c++ header fixes for pam_misc.h and pam_client.h - from Alexandre
   Sagala (Bug 420270 - agmorgan)
 * pam_access fixes - looks out for trailing '.' - from Carlo Marcelo
index 2bc02f5e5831a665fa3466e13a68fc19e05f89c7..47c7bd394b48191ffe4afe261d85f63495375f73 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -58,20 +58,20 @@ $(THINGSTOMAKE): _pam_aconf.h prep
 install: _pam_aconf.h prep
        $(MKDIR) $(FAKEROOT)$(INCLUDED)
        $(INSTALL) -m 444 security/_pam_aconf.h $(FAKEROOT)$(INCLUDED)
-       for x in $(THINGSTOMAKE) ; do make -C $$x install ; done
+       for x in $(THINGSTOMAKE) ; do $(MAKE) -C $$x install ; done
 
 remove:
        rm -f $(FAKEROOT)$(INCLUDED)/_pam_aconf.h
-       for x in $(THINGSTOMAKE) ; do make -C $$x remove ; done
+       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 [ ! -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
+       $(MAKE) distclean
        cd .. ; tar zvfc $(DISTNAME)-$(MAJOR_REL).$(MINOR_REL).tar.gz \
                --exclude CVS --exclude .cvsignore --exclude '.#*' \
                $(DISTNAME)-$(MAJOR_REL).$(MINOR_REL)/*
index 62702cc8151a509956f4ef2a78132bf09a2ca8d8..6e4ab07a471b31c043b40a85649a184dda2f9099 100644 (file)
@@ -22,7 +22,7 @@ MODULES=$(shell ls modules/*.sgml)
 
 dummy:
        @echo "Making the documentation..."
-       @make all
+       @$(MAKE) all
 
 all: htmls texts postscript
 
@@ -127,7 +127,7 @@ endif
        done
 
 spec:
-       cd specs/formatter && make
+       cd specs/formatter && $(MAKE)
        specs/formatter/padout < specs/draft-morgan-pam.raw > specs/draft-morgan-pam-current.txt
 
 releasedocs: all spec
@@ -141,5 +141,5 @@ clean:
        rm -f $(PSFILES) ps/missfont.log
        rm -f MODULES-SGML pam.sgml
        rm -f specs/draft-morgan-pam-current.txt
-       make -C specs/formatter clean
+       $(MAKE) -C specs/formatter clean