1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-27 12:41:57 +03:00

Automatic dependency tracking

The .DEFAULT rule in backend/Makefile is harmful -- removed.
Replace `::' rules by `:'.
This commit is contained in:
Peter Eisentraut
2000-07-16 14:50:44 +00:00
parent 81fd7532a9
commit 0d59dad770
10 changed files with 513 additions and 420 deletions

View File

@ -23,19 +23,19 @@ TARGETS= $(SRC:%=%.tar.gz)
.PRECIOUS:
.PHONY: install all sources clean distclean
install::
install:
$(MAKE) all
(mv -f *.gz ..)
clean::
clean:
$(MAKE) -C sgml clean
distclean::
distclean:
$(MAKE) -C sgml distclean
all:: $(TARGETS)
all: $(TARGETS)
sources::
sources:
$(MAKE) sources.tar.gz
sources.tar:

View File

@ -8,7 +8,7 @@
#
#
# IDENTIFICATION
# $Header: /cvsroot/pgsql/doc/src/sgml/Makefile,v 1.15 2000/06/18 21:24:51 petere Exp $
# $Header: /cvsroot/pgsql/doc/src/sgml/Makefile,v 1.16 2000/07/16 14:50:38 petere Exp $
#
#----------------------------------------------------------------------------
@ -121,9 +121,9 @@ SQLTARGETS= $(XSQLTARGETS:-ref.l=.l)
.PRECIOUS: postgres.tex postgres.dvi
.PHONY: install all clean distclean
install::
install:
all::
all:
man:
$(MAKE) man1 manl
@ -143,10 +143,10 @@ manl: $(SQLTARGETS) manpage.refs
if [ ! -d manl ]; then mkdir manl; fi
cp *.l manl/
clean::
clean:
(rm -rf HTML.manifest *.html *.htm *.1 *.l man1 manl manpage*)
distclean::
distclean:
$(MAKE) clean
#