real initial import
[amarok_sonynw.git] / admin / Makefile.common
blobd07b4045237a012de07f38960abc0f9e3de9fac7
1 ### Makefile.common
2 ###
3 ### Copyright (C) 2002 by the KDE developers
5 ### All the real work is done by the shellscript cvs.sh
7 SHELL=/bin/sh
9 cvs dist configure configure.in configure.files subdirs package-messages package-merge Makefile.am acinclude.m4 extract-messages:
10         @admindir=$(admindir); \
11         if test "x$$admindir" = x; then \
12           admindir=.; until test -f $$admindir/admin/cvs.sh; do \
13             admindir=$$admindir/..; \
14             if test `cd $$admindir && pwd` = / ; then break; fi; \
15           done; \
16           admindir=$$admindir/admin; \
17           if test -f $$admindir/cvs.sh; then :; else \
18             echo "Can't find the admin/ directory in any parent of the"; \
19             echo "current directory.  Please set it with admindir=..."; \
20             exit 1; \
21           fi; \
22         fi; \
23         if test "$@" = "package-merge"; then \
24                 MAKE="$(MAKE)" POFILES="$(POFILES)" PACKAGE="$(PACKAGE)" \
25                 $(SHELL) $$admindir/cvs.sh package-merge ;\
26         else \
27                 MAKE="$(MAKE)" $(SHELL) $$admindir/cvs.sh $@ ;\
28         fi
30 configure.in: configure.files subdirs
31 configure.files: subdirs
33 svn: cvs
35 .SILENT:
37 .PHONY: svn cvs dist package-merge package-messages