mirror of
https://github.com/linux-pam/linux-pam.git
synced 2024-12-18 05:53:47 +08:00
Relevant BUGIDs: 422144
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.
This commit is contained in:
parent
0373bb1092
commit
7626d42b8d
@ -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
|
||||
|
8
Makefile
8
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)/*
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user