File: Makefile.am

package info (click to toggle)
tiemu 3.02-1.2
  • links: PTS
  • area: main
  • in suites: wheezy
  • size: 8,964 kB
  • sloc: ansic: 32,554; sh: 9,561; cpp: 1,075; makefile: 585; xml: 71; sed: 16
file content (49 lines) | stat: -rw-r--r-- 1,380 bytes parent folder | download | duplicates (3)
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
39
40
41
42
43
44
45
46
47
48
49
## Process this file with automake to produce Makefile.in

# subdirectories to scan
SUBDIRS = build glade help misc pedrom pixmaps po skins src

if USE_GROFF
SUBDIRS += man
endif

dist_pkgdata_DATA = COPYING RELEASE AUTHORS LICENSES

EXTRA_DIST = BUGS README.* TODO docs desktop sdk po/copy.bat po/TRANSLATORS install.bat

# install hook to install prebuilt Manpage.txt if groff is not available
install-data-local:
if !USE_GROFF
	$(mkinstalldirs) $(DESTDIR)$(pkgdatadir) 
	$(INSTALL_DATA) $(srcdir)/man/Manpage.txt $(DESTDIR)$(pkgdatadir)/Manpage.txt
endif

# custom targets
install-without-tcl-tk:
if NO_GDB
	$(MAKE) install DESTDIR="$(DESTDIR)"
else
if USE_GROFF
	$(MAKE) install SUBDIRS="build glade help misc pedrom pixmaps skins man" DESTDIR="$(DESTDIR)"
else
	$(MAKE) install SUBDIRS="build glade help misc pedrom pixmaps skins" DESTDIR="$(DESTDIR)"
endif
	cd src && $(MAKE) install-without-tcl-tk DESTDIR="$(DESTDIR)"
endif

install-without-tcl-tk-itcl:
if NO_GDB
	$(MAKE) install DESTDIR="$(DESTDIR)"
else
if USE_GROFF
	$(MAKE) install SUBDIRS="build glade help misc pedrom pixmaps skins man" DESTDIR="$(DESTDIR)"
else
	$(MAKE) install SUBDIRS="build glade help misc pedrom pixmaps skins" DESTDIR="$(DESTDIR)"
endif
	cd src && $(MAKE) install-without-tcl-tk-itcl DESTDIR="$(DESTDIR)"
endif

regsvr:
	cd src && $(MAKE) regsvr DESTDIR="$(DESTDIR)"

ACLOCAL_AMFLAGS = -I m4