File: Makefile.am

package info (click to toggle)
namazu2 2.0.21-22
  • links: PTS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 7,032 kB
  • sloc: ansic: 14,161; perl: 10,789; sh: 9,355; lisp: 1,147; makefile: 914
file content (51 lines) | stat: -rw-r--r-- 1,439 bytes parent folder | download | duplicates (7)
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
50
51
## Process this file with automake to produce Makefile.in

AUTOMAKE_OPTIONS = 1.4 no-dependencies

if BUILD_TKNAMAZU
BUILT_TKNAMAZU = tknamazu
DIST_TKNAMAZU =
else
BUILT_TKNAMAZU =
DIST_TKNAMAZU = tknamazu
endif

SUBDIRS = m4 conf doc etc filter po lib nmz pl src lisp scripts man \
	  tests pltests template contrib $(BUILT_TKNAMAZU)

DIST_SUBDIRS = m4 conf doc etc filter po lib nmz pl src lisp scripts man \
	  tests pltests template contrib $(BUILT_TKNAMAZU)


bin_SCRIPTS = nmz-config

etcdir     = $(pkgdatadir)/etc
etc_DATA   = AUTHORS ChangeLog ChangeLog.1 CREDITS COPYING INSTALL \
	     INSTALL-ja README README-es README-ja NEWS THANKS TODO \
	     HACKING HACKING-ja

EXTRA_DIST = $(etc_DATA) maintMakefile namazu.spec namazu.spec.in \
	     config.rpath mkinstalldirs


EXTRA_DIRS = $(DIST_TKNAMAZU) File-MMagic

install-data-local:
	$(mkinstalldirs) $(DESTDIR)$(localstatedir)/$(PACKAGE)/index

dist-hook:
	for subdir in $(EXTRA_DIRS); do \
	    cp -rp $$subdir $(distdir)/$$subdir; \
	    rm -f $(distdir)/$$subdir/*~; \
	    rm -f $(distdir)/$$subdir/*.{bak,orig}; \
	    rm -f $(distdir)/$$subdir/.cvsignore; \
	    rm -f $(distdir)/$$subdir/autogen.sh; \
	    rm -rf $(distdir)/$$subdir/autom4te.cache; \
	    rm -rf $(distdir)/$$subdir/CVS; \
	    rm -rf $(distdir)/$$subdir/*/CVS; \
	done

##Bug in automake: Can't use `if MAINTAINER_MODE'
@MAINTAINER_MODE_TRUE@include $(srcdir)/maintMakefile

ACLOCAL_AMFLAGS = -I m4