File: Makefile.common

package info (click to toggle)
facturalux 0.4-12
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 8,064 kB
  • ctags: 1,359
  • sloc: ansic: 15,260; cpp: 12,761; sh: 10,599; perl: 2,023; makefile: 692; xml: 194
file content (34 lines) | stat: -rw-r--r-- 1,027 bytes parent folder | download | duplicates (10)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
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.in configure.files subdirs package-messages:
	@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; \
	MAKE=$(MAKE) $(SHELL) $$admindir/cvs.sh $@

package-merge:
	@MAKE=$(MAKE) POFILES=$(POFILES) PACKAGE=$(PACKAGE) \
	  $(SHELL) admin/cvs.sh package-merge

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