Deleted obsolete Belarusian translation.
[bug-buddy.git] / omf-install / Makefile.am
blobbf56f3834be170f5474396a698e182e8800e8104
1
2 # Modify the definition of $omf_dest_dir, replacing "gdp-example1" with
3 # the name of your package.
4
5 # No other modifications should be necessary.
7 # Note that you must configure your package with --localstatedir=/var/lib
8 # so that the scrollkeeper-update command below will update the database
9 # in the standard scrollkeeper directory.
11 # If it is impossible to configure with --localstatedir=/var/lib, then
12 # modify the definition of scrollkeeper_localstate_dir so that
13 # it points to the correct location. Note that you must still use 
14 # $(localstatedir) in this or when people build RPMs it will update
15 # the real database on their system instead of the one under RPM_BUILD_ROOT.
17 omf_dest_dir=$(datadir)/omf/bug-buddy
18 scrollkeeper_localstate_dir = $(localstatedir)/scrollkeeper
20 install-data-local:
21         $(mkinstalldirs) $(DESTDIR)$(omf_dest_dir)
22         -for file in $(srcdir)/*.omf; do \
23                 $(INSTALL_DATA) $(srcdir)/$$file $(DESTDIR)$(omf_dest_dir); \
24         done
25         -scrollkeeper-update -p $(scrollkeeper_localstate_dir) 
27 uninstall-local:
28         -for file in $(srcdir)/*.omf; do \
29                 basefile=`basename $$file`; \
30                 rm -f $(omf_dest_dir)/$$basefile; \
31         done
32         -rmdir $(omf_dest_dir)
33         -scrollkeeper-update -p $(scrollkeeper_localstate_dir)