1 MAINTAINERCLEANFILES=Makefile.in aclocal.m4 config.h.in
3 # Do this the simple way -- it means "make dist" will fail if you
4 # disable stuff, and has other ugliness, but it is much easier and
5 # more maintainable than the "correct" alternatives.
9 SUBDIRS=$(SRCDIRS) $(DOCDIRS) m4 po
11 dist_bin_SCRIPTS = aptitude-create-state-bundle aptitude-run-state-bundle
13 MANPAGE_LOCALES=gl it pl
15 TLMANPAGES = $(wildcard $(srcdir)/aptitude.??.8)
16 TLHELPTXTS = help.txt $(wildcard $(srcdir)/help-??.txt) $(wildcard $(srcdir)/help-??_??.txt)
17 TLDEFAULTS = $(wildcard aptitude-defaults.??) $(wildcard aptitude-defaults.??_??)
18 EXTRA_DIST = config.rpath ChangeLog.SVN Doxyfile.in FAQ README.i18n README.SMART-POINTERS README.THREADS README.CWIDGET aptitude-hackers-guide.txt aclocal.m4 \
19 function_groups function_pkgs aptitude-defaults \
20 section-descriptions \
22 $(TLMANPAGES) $(TLHELPTXTS)
24 pkgdatadir=$(datadir)/$(PACKAGE)
26 pkgdata_DATA = $(TLHELPTXTS) COPYING NEWS FAQ \
27 function_groups function_pkgs aptitude-defaults section-descriptions \
31 [ -d $(DESTDIR)$(STATEDIR) ] || $(mkinstalldirs) $(DESTDIR)$(STATEDIR)
32 # FIXME: this really ought to use the autoconf directory variables
34 for l in $(MANPAGE_LOCALES); do \
35 $(mkinstalldirs) $(DESTDIR)$(mandir)/$$l/man8; \
36 $(INSTALL_DATA) $(srcdir)/aptitude.$$l.8 $(DESTDIR)$(mandir)/$$l/man8/aptitude.8; \
40 #rm -fr $(DESTDIR)$(STATEDIR)
41 # Is -r a good idea here?
44 ACLOCAL_AMFLAGS = -I m4