Updated Czech translation
[anjuta.git] / omf-install / Makefile.am
blobd0f977dc2e296886199cbfeb502414717dd506ec
2 # Note that you must configure your package with --localstatedir=/var/lib
3 # so that the scrollkeeper-update command below will update the database
4 # in the standard scrollkeeper directory.
6 # If it is impossible to configure with --localstatedir=/var/lib, then
7 # modify the definition of scrollkeeper_localstate_dir so that
8 # it points to the correct location. Note that you must still use 
9 # $(localstatedir) in this or when people build RPMs it will update
10 # the real database on their system instead of the one under RPM_BUILD_ROOT.
12 omf_dest_dir=$(datadir)/omf/anjuta
13 scrollkeeper_localstate_dir = $(localstatedir)/scrollkeeper
15 install-data-local:
16         $(mkinstalldirs) $(DESTDIR)$(omf_dest_dir)
17         -for file in $(srcdir)/*.omf; do \
18                 $(INSTALL_DATA) $(srcdir)/$$file $(DESTDIR)$(omf_dest_dir); \
19         done
20         -scrollkeeper-update -p $(scrollkeeper_localstate_dir) 
22 uninstall-local:
23         -for file in $(srcdir)/*.omf; do \
24                 basefile=`basename $$file`; \
25                 rm -f $(omf_dest_dir)/$$basefile; \
26         done
27         -rmdir $(omf_dest_dir)
28         -scrollkeeper-update -p $(scrollkeeper_localstate_dir) 
30 -include $(top_srcdir)/git.mk