bin_PROGRAMS = ragmaan ragmaan_SOURCES = db_files.c db_files.h hash_func.c hash_func.h search.c search.h ragmaan.h main.c state_stack.c state_stack.h idle_task.c idle_task.h scratchpad.c scratchpad.h sort.c sort.h gettext.h config_file.c config_file.h find.c find.h CLEANFILES = *.c~ *.h~ WORDLIST = nl2.txt.gz dist_pkgdata_DATA = $(WORDLIST) applet-okay.png folder-closed.png folder-open.png emblem-nowrite.png EXTRA_DIST = config.rpath $(PACKAGE).spec.in SUBDIRS = m4 po intl docdir = $(prefix)/share/doc/$(PACKAGE)-$(VERSION) doc_DATA = README COPYING ChangeLog ACLOCAL_AMFLAGS = -I m4 ## use this when NOT building an RPM # RPMDATAHACK = ${prefix}/share ## this prevents the RPM build root from becoming hard-coded! UGH! RPMDATAHACK = /usr/share DEFS = @DEFS@ -DLOCALEDIR=\"$(RPMDATAHACK)/locale\" -DDATADIR=\"$(RPMDATAHACK)/$(PACKAGE)\" install-data-hook: echo \ "" \ "$(RPMDATAHACK)/$(PACKAGE)/$(WORDLIST)" \ "" \ > $(DESTDIR)$(pkgdatadir)/ragmaanrc