source: trunk/third/scrollkeeper/Makefile.am @ 20865

Revision 20865, 1.6 KB checked in by ghudson, 20 years ago (diff)
Merge with scrollkeeper 0.3.14.
Line 
1# copyright (C) 2000 Sun Microsystems, Inc.
2
3SUBDIRS = m4 libuuid intl libs buildtools config cl extract scripts man po doc
4
5EXTRA_DIST =                    \
6        config.rpath            \
7        scrollkeeper.spec.in    \
8        intltool-extract.in     \
9        intltool-merge.in       \
10        intltool-update.in      \
11        intltool-modules/XML/Parser/Style/OrigTree.pm   \
12        scrollkeeper-spec.txt
13
14scrollkeeperdocdir = $(datadir)/doc/scrollkeeper-$(VERSION)
15scrollkeeperdoc_DATA =          \
16        AUTHORS                 \
17        ChangeLog               \
18        COPYING.DOC             \
19        COPYING                 \
20        NEWS                    \
21        README                  \
22        scrollkeeper-spec.txt   \
23        TODO
24
25scrollkeeper_localstate_dir = $(localstatedir)/@SCROLLKEEPER_PARTIAL_DB_DIR@
26
27dist-hook: scrollkeeper.spec
28        cp scrollkeeper.spec $(distdir)
29
30# Build/rebuild the catalog
31install-data-hook:
32        rm -rf $(DESTDIR)$(scrollkeeper_localstate_dir)
33        $(mkinstalldirs) $(DESTDIR)$(scrollkeeper_localstate_dir)
34        $(mkinstalldirs) $(DESTDIR)$(localstatedir)/log
35#       PATH="$(PATH):$(DESTDIR)$(bindir)" ; \
36#               echo "`date +\"%b %d %X\"` Installing ScrollKeeper `scrollkeeper-config --version`..." >> $(DESTDIR)$(localstatedir)/log/scrollkeeper.log
37#       PATH="$(PATH):$(DESTDIR)$(bindir)" ; \
38#               $(DESTDIR)$(bindir)/scrollkeeper-rebuilddb -q -p $(DESTDIR)$(scrollkeeper_localstate_dir)
39
40# Remove generated files
41uninstall-local:
42        -rm -rf $(DESTDIR)$(scrollkeeper_localstate_dir)
43        -rm -f $(DESTDIR)$(localstatedir)/log/scrollkeeper.log
44        -rm -f $(DESTDIR)$(localstatedir)/log/scrollkeeper.log.1
45
46ACLOCAL_AMFLAGS = -I m4
47
48# It is wrong to have scrollkeeper.pot here, but some other bug means its presence is causing distcheck to fail. :-(
49DISTCLEANFILES =                \
50        intltool-extract        \
51        intltool-merge          \
52        intltool-update         \
53        po/scrollkeeper.pot
Note: See TracBrowser for help on using the repository browser.