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

Revision 18218, 1.1 KB checked in by ghudson, 21 years ago (diff)
This commit was generated by cvs2svn to compensate for changes in r18217, which included commits to RCS files with non-trunk default branches.
Line 
1# copyright (C) 2000 Sun Microsystems, Inc.
2
3SUBDIRS = libuuid libs buildtools config cl extract scripts man intl po doc
4
5EXTRA_DIST = scrollkeeper.spec.in COPYING-DOCS TODO intltool-extract.in intltool-merge.in intltool-update.in scrollkeeper-spec.txt
6
7scrollkeeperdocdir = $(datadir)/doc/scrollkeeper-$(VERSION)
8scrollkeeperdoc_DATA = COPYING-DOCS
9scrollkeeper_localstate_dir = $(localstatedir)/lib/scrollkeeper
10
11dist-hook: scrollkeeper.spec
12        cp scrollkeeper.spec $(distdir)
13
14install-data-hook:
15        # Build/rebuild the catalog
16        rm -rf $(DESTDIR)$(scrollkeeper_localstate_dir)
17        $(mkinstalldirs) $(DESTDIR)$(scrollkeeper_localstate_dir)
18        $(mkinstalldirs) $(DESTDIR)$(localstatedir)/log
19        echo "`date +\"%b %d %X\"` Installing ScrollKeeper `scrollkeeper-config --version`..." >> $(DESTDIR)$(localstatedir)/log/scrollkeeper.log
20        $(DESTDIR)$(bindir)/scrollkeeper-rebuilddb -q -p $(DESTDIR)$(scrollkeeper_localstate_dir)
21
22uninstall-local:
23        # Remove generated files
24        -rm -rf $(DESTDIR)$(scrollkeeper_localstate_dir)
25        -rm -f $(DESTDIR)$(localstatedir)/log/scrollkeeper.log
26        -rm -f $(DESTDIR)$(localstatedir)/log/scrollkeeper.log.1
27
Note: See TracBrowser for help on using the repository browser.