File: Makefile.am

package info (click to toggle)
prcs 1.3.1-1
  • links: PTS
  • area: main
  • in suites: woody
  • size: 3,304 kB
  • ctags: 3,395
  • sloc: cpp: 17,388; ansic: 8,305; sh: 2,621; lisp: 1,816; perl: 649; lex: 354; makefile: 208; pascal: 85
file content (38 lines) | stat: -rw-r--r-- 1,342 bytes parent folder | download
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
35
36
37
38
## Process this file with automake to produce Makefile.in
## $Id: Makefile.am 1.9.1.22 Mon, 25 Jun 2001 09:51:30 +0400 jmacd $

SUBDIRS = src doc contrib emacs m4 be

EXTRA_DIST = prcs.prj FAQ TODO INSTALL README.BE config-be

## This doesn't work with gmake -j, but I can't figure it out.
all-local:
	@if src/prcs config -f; then :; else \
	  echo ""; \
	  echo "* Warning: prcs config reports a configuration error, probably"; \
	  echo "* indicating that one of the programs prcs uses is the wrong"; \
	  echo "* version.  You may set the RCS_PATH environment variable to"; \
	  echo "* correct this problem."; \
	  echo ""; \
	fi

bindist: all
	strip src/prcs
	tar -cf - INSTALL NEWS README TODO FAQ -C src prcs | \
	  gzip > prcs-@VERSION@-`uname`.tar.gz

## I think this is a neat use of execute.  It shows one reason to make
## prcs operations on project D/P work as if files had D prepended instead
## of changing into D and using the same filenames.

develdist:
	@rm -rf prcs-@VERSION@
	@ln -s . prcs-@VERSION@
	@rm -rf prcs-@VERSION@-devel.tar.gz
	@rm -rf prcs-@VERSION@-devel.tar
	tar -cf prcs-@VERSION@-devel.tar `prcs execute -f --not :.*directory prcs-@VERSION@`
	gzip prcs-@VERSION@-devel.tar
	@rm -rf prcs-@VERSION@

acinclude.m4: m4/jmmmap.m4 m4/prcsbuild.m4 m4/prcsenv.m4 doc/prcs.texi doc/make-docs.el
	(cd m4; $(MAKE) m4)