mirror of
ssh://git.janware.com/srv/git/janware/proj/jw-pkg
synced 2026-01-15 03:53:32 +01:00
$(TOPDIR), make: Make make_scm.sh work
This commit is contained in:
parent
1430a0cd91
commit
d5da27eb91
5 changed files with 12 additions and 18 deletions
14
Makefile
14
Makefile
|
|
@ -21,21 +21,9 @@ SUBDIRS = inst/pre \
|
|||
|
||||
ifneq ($(wildcard $(MODDIR)/make/ytools.mk),)
|
||||
|
||||
all:
|
||||
echo hallo
|
||||
$(make_subdirs_target)
|
||||
|
||||
clean distclean:
|
||||
rm -rf $(CLEAN) $(DISTCLEAN)
|
||||
$(make_subdirs_target)
|
||||
|
||||
install: all
|
||||
$(make_subdirs_target)
|
||||
make $(INSTALLED_VERSION_FILE)
|
||||
|
||||
include $(MODDIR)/make/ytools.mk
|
||||
|
||||
include $(MODDIR)/make/defs.mk
|
||||
include $(MODDIR)/make/subdirs.mk
|
||||
include $(MODDIR)/make/rules.mk
|
||||
include $(MODDIR)/make/rpmdist.mk
|
||||
|
||||
|
|
|
|||
|
|
@ -6,3 +6,6 @@
|
|||
MODDIR = ..
|
||||
include $(MODDIR)/make/ytools.mk
|
||||
include $(MODDIR)/make/make.mk
|
||||
|
||||
tst:
|
||||
echo $(AC_FILES_IN)
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@ AC_FILES_IN = $(shell find . -name '*.in' | grep -ve "contrib\|dist")
|
|||
AC_FILES = $(basename $(AC_FILES_IN))
|
||||
|
||||
all: config $(AC_FILES)
|
||||
config: config.acdone
|
||||
config: config.acdone $(AC_FILES)
|
||||
install: config $(AC_FILES)
|
||||
confclean:
|
||||
rm -f $(DISTCLEAN) $(CLEAN)
|
||||
|
|
@ -31,6 +31,6 @@ $(TOPDIR)/make/%.mk: $(TOPDIR)/make/%.mk.in config.status
|
|||
./config.status $@
|
||||
touch $@
|
||||
|
||||
$(TOPDIR)/make/%.h: $(TOPDIR)/make/%.h.in config.status
|
||||
$(TOPDIR)/include/%.h: $(TOPDIR)/include/%.h.in config.status
|
||||
./config.status $@
|
||||
touch $@
|
||||
|
|
|
|||
|
|
@ -15,10 +15,13 @@ else
|
|||
subdirs all:
|
||||
$(make_subdirs)
|
||||
|
||||
install clean distclean:
|
||||
rm -rf $(TEXTCLEAN) $(CLEAN) $(DISTCLEAN) dist *.done *~ .*.swp *.tmp core *.rep
|
||||
install clean:
|
||||
rm -rf $(TEXTCLEAN) $(CLEAN) dist *.done *~ .*.swp *.tmp core *.rep
|
||||
$(make_subdirs_target)
|
||||
|
||||
distclean: clean
|
||||
rm -rf $(DISTCLEAN)
|
||||
|
||||
.DEFAULT:
|
||||
$(make_subdirs_target)
|
||||
#
|
||||
|
|
|
|||
|
|
@ -169,7 +169,7 @@ doneclean:
|
|||
execlean: allclean objclean textclean
|
||||
|
||||
distclean: clean objclean textclean tmpclean vcdistclean profclean timerclean
|
||||
rm -rf $(CLEAN) $(DISTCLEAN)
|
||||
rm -rf $(CLEAN) $(DISTCLEAN) $(AC_FILES)
|
||||
|
||||
localclean: $(LOCAL_CLEAN)
|
||||
rm -rf $(CLEAN)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue