PATCH_LEVEL = $(TOPLEVEL_PATCH_LEVEL)
# use to send patches, always empty for released version:
MY_PATCH_LEVEL = $(TOPLEVEL_MY_PATCH_LEVEL)
-build = ./$(depth)/lily/.build
+build = ./$(depth)/lily/$(outdir)/.build
#
# generic variables:
# list of distribution files:
#
# SYMLINKS = # naah, configure
-SCRIPTS = configure
-README_FILES = ANNOUNCE COPYING INSTALL NEWS README TODO
+SCRIPTS = configure configure.in install-sh
+README_FILES = ANNOUNCE COPYING NEWS README TODO INSTALL.text
DISTFILES= Makefile .dstreamrc .version $(README_FILES) $(SCRIPTS) $(SYMLINKS)
#
+
# generic targets and rules:
#
include ./$(depth)/make/Targets.make
include ./$(depth)/make/Rules.make
#
+localdist: configure
+
+# ugh. I know dep is not quite what is really needed.
+INSTALL.text: Documentation
+ rm -f INSTALL.text
+ $(MAKE) -C Documentation
+ ln `find -name INSTALL.text|head -1` .
+
+localclean:
+ rm -f $(allexe) core config.cache config.log config.status
+
+localinstall: all
+ $(INSTALL) -d $(bindir)
+ $(INSTALL) -m 755 $(allexe) $(bindir)
+
+localuninstall:
+ for i in $(allexe); do rm -f $(bindir)/`basename $$i`; done
\ No newline at end of file