mirror of
ssh://git.janware.com/srv/git/janware/proj/jw-pkg
synced 2026-01-15 12:03:31 +01:00
autoconf.mk: Add support for cold-start make rpm-release
This commit is contained in:
parent
edef8fb8c2
commit
a979d74a9d
1 changed files with 6 additions and 3 deletions
|
|
@ -9,14 +9,17 @@ AC_FILES_IN = $(shell find . -maxdepth 2 -name '*.in' | grep -ve "contrib\|dist\
|
|||
AC_FILES = $(basename $(AC_FILES_IN))
|
||||
|
||||
all: config.acdone make_all
|
||||
config: config.acdone $(AC_FILES)
|
||||
install: config $(AC_FILES) make_install
|
||||
distclean: confclean acclean
|
||||
rpm-release: config.acdone make_rpm_release
|
||||
|
||||
make_all: config $(AC_FILES)
|
||||
if [ -z "$(CONFIG_ACDONE)" ]; then make all; fi
|
||||
config: config.acdone $(AC_FILES)
|
||||
install: config $(AC_FILES) make_install
|
||||
make_rpm_release: config $(AC_FILES)
|
||||
if [ -z "$(CONFIG_ACDONE)" ]; then make rpm-release; fi
|
||||
make_install:
|
||||
if [ -z "$(CONFIG_ACDONE)" ]; then make $@; fi
|
||||
distclean: confclean acclean
|
||||
confclean:
|
||||
rm -rf $(DISTCLEAN) $(CLEAN) $(AC_FILES) autom4te.cache
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue