$(TOPDIR), make: Make make_scm.sh work

This commit is contained in:
Jan Lindemann 2002-07-25 10:39:55 +00:00 committed by Jan Lindemann
commit d5da27eb91
5 changed files with 12 additions and 18 deletions

View file

@ -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

View file

@ -6,3 +6,6 @@
MODDIR = ..
include $(MODDIR)/make/ytools.mk
include $(MODDIR)/make/make.mk
tst:
echo $(AC_FILES_IN)

View file

@ -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 $@

View file

@ -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)
#

View file

@ -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)