File: Makefile.am

package info (click to toggle)
prcs 1.2.11-7
  • links: PTS
  • area: main
  • in suites: slink
  • size: 2,748 kB
  • ctags: 3,097
  • sloc: cpp: 16,675; ansic: 5,725; sh: 4,887; lisp: 1,449; lex: 344; perl: 131; makefile: 131; pascal: 85
file content (38 lines) | stat: -rw-r--r-- 1,404 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.19 Tue, 29 Sep 1998 13:26:59 -0700 jmacd $

SUBDIRS = src doc scripts emacs m4 be

EXTRA_DIST = prcs.prj ANNOUNCE FAQ README.xdelta ANNOUNCE.xdelta 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 ANNOUNCE README.xdelta -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)