File: Makefile.am

package info (click to toggle)
mcpp 2.7.2-1
  • links: PTS
  • area: main
  • in suites: squeeze
  • size: 8,152 kB
  • ctags: 29,136
  • sloc: ansic: 35,238; sh: 9,241; makefile: 176; cpp: 84; exp: 18
file content (38 lines) | stat: -rw-r--r-- 1,309 bytes parent folder | download | duplicates (5)
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

AUTOMAKE_OPTIONS = foreign

SUBDIRS = src

if REPLACE_CPP
SUBDIRS += tests .
man_page = mcpp-gcc
else
man_page = mcpp
endif
man1_MANS = $(man_page).1

EXTRA_DIST = $(top_srcdir)/LICENSE $(top_srcdir)/INSTALL*   \
  $(top_srcdir)/ChangeLog.old $(top_srcdir)/NEWS    \
  $(top_srcdir)/mcpp.1 $(top_srcdir)/mcpp-gcc.1 $(top_srcdir)/config    \
  $(top_srcdir)/src/preproc.c $(top_srcdir)/src/noconfig.H  \
  $(top_srcdir)/src/cc1.c $(top_srcdir)/src/*set_mcpp.sh 	\
  $(top_srcdir)/src/testmain.c $(top_srcdir)/src/mcpp_lib.def	\
  $(top_srcdir)/tests/*_test.sh $(top_srcdir)/noconfig  \
  $(top_srcdir)/cpp-test $(top_srcdir)/test-t    \
  $(top_srcdir)/test-c $(top_srcdir)/test-l $(top_srcdir)/tool  \
  $(top_srcdir)/doc $(top_srcdir)/doc-jp

if ! REPLACE_CPP 
install-exec-hook:
	$(top_srcdir)/config/install-sh -d "$(DESTDIR)$(prefix)/share/doc/mcpp"
	cp -pf $(top_srcdir)/LICENSE $(top_srcdir)/README $(top_srcdir)/NEWS \
            $(DESTDIR)$(prefix)/share/doc/mcpp
	cp -pf $(top_srcdir)/doc/mcpp-manual.html   \
            $(DESTDIR)$(prefix)/share/doc/mcpp
	cp -pf $(top_srcdir)/doc-jp/mcpp-manual.html   \
            $(DESTDIR)$(prefix)/share/doc/mcpp/mcpp-manual-jp.html
uninstall-hook:
	rm -rf $(DESTDIR)$(prefix)/share/doc/mcpp
endif