diff options
Diffstat (limited to 'admin/Makefile.common')
-rw-r--r-- | admin/Makefile.common | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/admin/Makefile.common b/admin/Makefile.common new file mode 100644 index 0000000..875d95a --- /dev/null +++ b/admin/Makefile.common @@ -0,0 +1,34 @@ +### Makefile.common +### +### Copyright (C) 2002 by the KDE developers + +### All the real work is done by the shellscript cvs.sh + +SHELL=/bin/sh + +cvs dist cvs-clean configure configure.in configure.files subdirs package-messages package-merge Makefile.am: + @admindir=$(admindir); \ + if test "x$$admindir" = x; then \ + admindir=.; until test -f $$admindir/admin/cvs.sh; do \ + admindir=$$admindir/..; \ + if test `cd $$admindir && pwd` = / ; then break; fi; \ + done; \ + admindir=$$admindir/admin; \ + if test -f $$admindir/cvs.sh; then :; else \ + echo "Can't find the admin/ directory in any parent of the"; \ + echo "current directory. Please set it with admindir=..."; \ + exit 1; \ + fi; \ + fi; \ + if test "$@" = "package-merge"; then \ + MAKE="$(MAKE)" POFILES="$(POFILES)" PACKAGE="$(PACKAGE)" \ + $(SHELL) $$admindir/cvs.sh package-merge ;\ + else MAKE="$(MAKE)" $(SHELL) $$admindir/cvs.sh $@ ;\ + fi + +configure.in: configure.files $(shell test -f configure.files && cat configure.files) subdirs +configure.files: subdirs + +.SILENT: + +.PHONY: cvs dist cvs-clean package-merge package-messages |