File: Makefile.am

package info (click to toggle)
mcpp 2.5-1
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 7,544 kB
  • ctags: 28,000
  • sloc: ansic: 34,825; sh: 3,812; makefile: 120; cpp: 84; exp: 18
file content (22 lines) | stat: -rw-r--r-- 727 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
## Process this file with automake to produce Makefile.in

AUTOMAKE_OPTIONS = foreign

SUBDIRS = src
if MAINTAINER_MODE
SUBDIRS += tests .
endif

EXTRA_DIST = LICENSE INSTALL_* mcpp.1 config/mb_* \
    src/preproc.c src/noconfig.H src/*set_mcpp.sh tests/*_test.sh \
    noconfig cpp-test test-t test-c test-l tool doc doc.eng

install-data:
	@if test -d "$(prefix)/share/doc"; then :; else mkdir $(prefix)/share/doc; fi
	@if test -d "$(prefix)/share/doc/mcpp"; then :; else mkdir $(prefix)/share/doc/mcpp; fi
	cp -Rpf LICENSE cpp-test test-t test-c test-l tool doc doc.eng $(prefix)/share/doc/mcpp
	gzip -c mcpp.1 > $(prefix)/man/man1/mcpp.1.gz

uninstall-data:
	rm -r -f $(prefix)/share/doc/mcpp $(prefix)/man/man1/mcpp.1.gz