mirror of
ssh://git.janware.com/srv/git/janware/proj/jw-pkg
synced 2026-01-15 12:03:31 +01:00
Remove all: And install: target clashes with dirs.mk
This commit is contained in:
parent
59e8d57789
commit
dee4fee2f1
1 changed files with 9 additions and 4 deletions
|
|
@ -4,15 +4,17 @@
|
|||
# $Id$
|
||||
|
||||
CONFIG_ACDONE := $(wildcard config.acdone)
|
||||
CLEAN = $(wildcard *.acdone)
|
||||
DISTCLEAN += configure config.log autoscan.log configure.ac config.status
|
||||
AC_FILES_IN = $(shell find . -name '*.in' -maxdepth 2 | grep -ve "contrib\|dist\|nomake")
|
||||
AC_FILES = $(basename $(AC_FILES_IN))
|
||||
|
||||
all: config $(AC_FILES)
|
||||
if [ -z "$(CONFIG_ACDONE)" ]; then make $@; fi
|
||||
all: config.acdone make_all
|
||||
|
||||
make_all: config $(AC_FILES)
|
||||
if [ -z "$(CONFIG_ACDONE)" ]; then make all; fi
|
||||
config: config.acdone $(AC_FILES)
|
||||
install: config $(AC_FILES)
|
||||
install: config $(AC_FILES) make_install
|
||||
make_install:
|
||||
if [ -z "$(CONFIG_ACDONE)" ]; then make $@; fi
|
||||
distclean: confclean
|
||||
confclean:
|
||||
|
|
@ -39,3 +41,6 @@ $(TOPDIR)/make/%.mk: $(TOPDIR)/make/%.mk.in config.status
|
|||
$(TOPDIR)/include/%.h: $(TOPDIR)/include/%.h.in config.status
|
||||
./config.status $@
|
||||
touch $@
|
||||
|
||||
acclean:
|
||||
rm -f *.acdone
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue