From cd2c306260d64a2695d8f626d31c37ba9f22adaa Mon Sep 17 00:00:00 2001 From: Jan Lindemann Date: Thu, 26 Jul 2001 13:32:08 +0000 Subject: [PATCH] make, scripts, tmpl/tex: Add "TOPDIR" entry --- make/Makefile | 4 ++-- scripts/Makefile | 3 ++- tmpl/tex/Makefile | 3 ++- tmpl/tex/de_technical/Makefile | 1 + tmpl/tex/en_technical/Makefile | 3 ++- 5 files changed, 9 insertions(+), 5 deletions(-) diff --git a/make/Makefile b/make/Makefile index 2d19a170..104ee28a 100644 --- a/make/Makefile +++ b/make/Makefile @@ -3,6 +3,6 @@ # contact@jannet.de # $Id$ +MODDIR = .. TOPDIR = .. - -include $(TOPDIR)/make/text.mk +include $(MODDIR)/make/text.mk diff --git a/scripts/Makefile b/scripts/Makefile index acfdf3ec..43ea2a5c 100644 --- a/scripts/Makefile +++ b/scripts/Makefile @@ -32,4 +32,5 @@ install: install *.sh -m 755 $(HOME)/bin/ - +clean: + rm -rf *~ .*.swp core diff --git a/tmpl/tex/Makefile b/tmpl/tex/Makefile index 55877dcb..450d051d 100644 --- a/tmpl/tex/Makefile +++ b/tmpl/tex/Makefile @@ -1,3 +1,4 @@ +MODDIR=.. TOPDIR=.. SUBDIRS = $(shell find . -type d -maxdepth 1 | grep -ve "CVS\|nomake" | grep /) -include $(TOPDIR)/make/dirs.mk +include $(MODDIR)/make/dirs.mk diff --git a/tmpl/tex/de_technical/Makefile b/tmpl/tex/de_technical/Makefile index 4688e7bc..a3b667b4 100644 --- a/tmpl/tex/de_technical/Makefile +++ b/tmpl/tex/de_technical/Makefile @@ -3,5 +3,6 @@ # $Id$ MODDIR = ../.. +TOPDIR = ../.. include $(MODDIR)/make/text.mk diff --git a/tmpl/tex/en_technical/Makefile b/tmpl/tex/en_technical/Makefile index 8a7c6bf0..a3b667b4 100644 --- a/tmpl/tex/en_technical/Makefile +++ b/tmpl/tex/en_technical/Makefile @@ -2,6 +2,7 @@ # contact@jannet.de # $Id$ +MODDIR = ../.. TOPDIR = ../.. -include $(TOPDIR)/make/text.mk +include $(MODDIR)/make/text.mk