File: Makefile.am

package info (click to toggle)
aptitude 0.4.4-4
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 19,984 kB
  • ctags: 5,910
  • sloc: cpp: 49,806; xml: 25,912; sh: 4,084; makefile: 777; sed: 16
file content (38 lines) | stat: -rw-r--r-- 1,275 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
MAINTAINERCLEANFILES=Makefile.in aclocal.m4 config.h.in

# Do this the simple way -- it means "make dist" will fail if you
# disable stuff, and has other ugliness, but it is much easier and
# more maintainable than the "correct" alternatives.
SRCDIRS=@SRCDIRS@
DOCDIRS=@DOCDIRS@

SUBDIRS=$(SRCDIRS) $(DOCDIRS) m4 po tests

MANPAGE_LOCALES=gl it pl

TLMANPAGES = $(wildcard aptitude.??.8)
TLHELPTXTS = help.txt $(wildcard help-??.txt) $(wildcard help-??_??.txt)
EXTRA_DIST = config.rpath  ChangeLog.SVN Doxyfile.in FAQ README.i18n README.SMART-POINTERS README.THREADS README.VSCREEN aptitude-hackers-guide.txt aclocal.m4 \
	function_groups function_pkgs aptitude-defaults \
	$(TLMANPAGES) $(TLHELPTXTS)

pkgdatadir=$(datadir)/$(PACKAGE)

pkgdata_DATA = $(TLHELPTXTS) COPYING NEWS FAQ \
	function_groups function_pkgs aptitude-defaults

install-data-local:
	[ -d $(DESTDIR)$(STATEDIR) ] || $(mkinstalldirs) $(DESTDIR)$(STATEDIR)
# FIXME: this really ought to use the autoconf directory variables

	for l in $(MANPAGE_LOCALES); do \
	  $(mkinstalldirs) $(DESTDIR)$(mandir)/$$l/man8; \
	  $(INSTALL_DATA) $(srcdir)/aptitude.$$l.8 $(DESTDIR)$(mandir)/$$l/man8/aptitude.8; \
	done

uninstall-local:
	rm -fr $(DESTDIR)$(STATEDIR)
# Is -r a good idea here?


ACLOCAL_AMFLAGS = -I m4