gramps/Makefile.am
2003-03-27 16:52:40 +00:00

27 lines
565 B
Makefile

# copyright (C) 2000 Sun Microsystems, Inc.
SUBDIRS = src doc
EXTRA_DIST = autogen.sh gramps.spec.in COPYING-DOCS
bin_SCRIPTS = gramps
grampsdocdir = $(datadir)/doc/gramps-$(VERSION)
gramps: gramps.sh
cp gramps.sh gramps
dist-hook: gramps.spec
cp gramps.spec $(distdir)
# Build/rebuild the catalog
install-data-hook:
$(mkinstalldirs) $(DESTDIR)$(localstatedir)/log
# Remove generated files
uninstall-local:
-rm -rf $(DESTDIR)$(gramps_localstate_dir)
-rm -f $(DESTDIR)$(localstatedir)/log/gramps.log
-rm -f $(DESTDIR)$(localstatedir)/log/gramps.log.1