X-Git-Url: https://git.brokenzipper.com/gitweb?a=blobdiff_plain;f=nls%2Fpt_BR%2FMakefile.am;h=7c1fea4d0aaee7f4e30c5a394349920bf2cec726;hb=db451d95bf97b8a8e995f031ac98da50606fd3a0;hp=c52861c18d66f33169d2f3966bb41902562c80c1;hpb=b48e215ca642d1973e0b1b71e632657c2679443a;p=chaz%2Fopenbox diff --git a/nls/pt_BR/Makefile.am b/nls/pt_BR/Makefile.am index c52861c1..7c1fea4d 100644 --- a/nls/pt_BR/Makefile.am +++ b/nls/pt_BR/Makefile.am @@ -10,26 +10,29 @@ MFILES = @srcdir@/BaseDisplay.m @srcdir@/Basemenu.m @srcdir@/Configmenu.m @srcdi all-local: openbox.cat install-data-local: openbox.cat - @if test x$(NLSTEST) = "x-DNLS"; then \ + @if test x$(NLSTEST) = "xyes"; then \ echo "Installing catalog in $(THE_NLS_PATH)"; \ $(mkinstalldirs) $(THE_NLS_PATH); \ $(INSTALL_DATA) openbox.cat $(THE_NLS_PATH); \ + rm -f $(DESTDIR)$(pkgdatadir)/nls/pt; \ + ln -f -s pt_BR $(DESTDIR)$(pkgdatadir)/nls/pt; \ fi uninstall-local: - @if test x$(NLSTEST) = "x-DNLS"; then \ + @if test x$(NLSTEST) = "xyes"; then \ rm -f $(THE_NLS_PATH)/openbox.cat; \ + rm -f $(DESTDIR)$(pkgdatadir)/nls/pt; \ rmdir $(THE_NLS_PATH); \ fi Translation.m: $(MFILES) - @if test x$(NLSTEST) = "x-DNLS"; then \ + @if test x$(NLSTEST) = "xyes"; then \ awk -f @srcdir@/../convert.awk output=Translation.m $(MFILES); \ fi openbox.cat: Translation.m - @if test x$(NLSTEST) = "x-DNLS"; then \ + @if test x$(NLSTEST) = "xyes"; then \ $(gencat_cmd) openbox.cat Translation.m; \ fi distclean-local: - rm -f *\~ + rm -f *\~ .\#*