removing auto-generated stuff from cvs
[mikachu/openbox.git] / nls / fr_FR / Makefile.am
1 # nls/fr_FR/Makefile.am for Openbox
2
3 NLSTEST = @NLS@
4 CLEANFILES = openbox.cat
5 MAINTAINERCLEANFILES = Makefile.in Translation.m
6 DISTCLEANFILES = Translation.m
7 MFILES = @srcdir@/BaseDisplay.m @srcdir@/Basemenu.m @srcdir@/Configmenu.m @srcdir@/Icon.m @srcdir@/Image.m @srcdir@/Screen.m @srcdir@/Slit.m @srcdir@/Toolbar.m @srcdir@/Window.m @srcdir@/Windowmenu.m @srcdir@/Workspace.m @srcdir@/Workspacemenu.m @srcdir@/openbox.m @srcdir@/common.m @srcdir@/main.m @srcdir@/bsetroot.m
8
9 all-local: openbox.cat
10 install-data-local: openbox.cat
11         @if test x$(NLSTEST) = "x-DNLS"; then \
12                 echo "Installing catalog in $(DESTDIR)$(pkgdatadir)/nls/fr_FR"; \
13                 $(mkinstalldirs) $(DESTDIR)$(pkgdatadir)/nls/fr_FR; \
14                 $(INSTALL_DATA) openbox.cat $(DESTDIR)$(pkgdatadir)/nls/fr_FR; \
15                 rm -f $(DESTDIR)$(pkgdatadir)/nls/fr; \
16                 ln -f -s fr_FR $(DESTDIR)$(pkgdatadir)/nls/fr; \
17         fi
18 uninstall-local:
19         @if test x$(NLSTEST) = "x-DNLS"; then \
20                 rm -f $(DESTDIR)$(pkgdatadir)/nls/fr_FR/openbox.cat; \
21                 rm -f $(DESTDIR)$(pkgdatadir)/nls/fr; \
22                 rmdir $(DESTDIR)$(pkgdatadir)/nls/fr_FR; \
23         fi
24
25 Translation.m: $(MFILES)
26         @if test x$(NLSTEST) = "x-DNLS"; then \
27                 awk -f @srcdir@/../convert.awk output=Translation.m $(MFILES); \
28         fi
29
30 openbox.cat: Translation.m
31         @if test x$(NLSTEST) = "x-DNLS"; then \
32                 $(gencat_cmd) openbox.cat Translation.m; \
33         fi
34
35 distclean-local:
36         rm -f *\~