summaryrefslogtreecommitdiff
path: root/alsaconf
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2005-08-23 12:09:30 +0000
committerTakashi Iwai <tiwai@suse.de>2005-08-23 12:09:30 +0000
commit37325763a53a9a3629f12385435b35a02490bfc7 (patch)
tree4cbc7661257d122e0c2f4fe2054831eb6db6092a /alsaconf
parentd3267473a36b3292865362fe27f3fc4048738566 (diff)
downloadalsa-utils-37325763a53a9a3629f12385435b35a02490bfc7.tar.gz
Allow separate build and source trees
From: Bernard Leak <bernard@brenda-arkle.demon.co.uk> Allow separate build and source trees.
Diffstat (limited to 'alsaconf')
-rw-r--r--alsaconf/Makefile.am2
-rw-r--r--alsaconf/po/Makefile.in13
2 files changed, 9 insertions, 6 deletions
diff --git a/alsaconf/Makefile.am b/alsaconf/Makefile.am
index c295fdd..a11ecc5 100644
--- a/alsaconf/Makefile.am
+++ b/alsaconf/Makefile.am
@@ -17,7 +17,7 @@ install-man8:
esac; \
$(mkinstalldirs) $(DESTDIR)$(mandir)$$loc/man$$ext; \
echo " $(INSTALL_DATA) $$i $(DESTDIR)$(mandir)$$loc/man$$ext/$$inst.$$ext"; \
- $(INSTALL_DATA) $$i $(DESTDIR)$(mandir)$$loc/man$$ext/$$inst.$$ext; \
+ $(INSTALL_DATA) $(srcdir)/$$i $(DESTDIR)$(mandir)$$loc/man$$ext/$$inst.$$ext; \
done
uninstall-man8:
diff --git a/alsaconf/po/Makefile.in b/alsaconf/po/Makefile.in
index 349a00b..f1fa9aa 100644
--- a/alsaconf/po/Makefile.in
+++ b/alsaconf/po/Makefile.in
@@ -7,6 +7,7 @@ XGETTEXT_OPTIONS = -kxmsg -kxecho
top_builddir = ../..
+srcdir = @srcdir@
datadir = @datadir@
exec_prefix = @exec_prefix@
prefix = @prefix@
@@ -33,24 +34,26 @@ all-no:
.SUFFIXES: .po .gmo .mo
-.po.mo:
+%.mo : $(srcdir)/%.po
$(MSGFMT) -c -o t-$@ $< && mv t-$@ $@
-.po.gmo:
- @lang=`echo $* | sed -e 's,.*/,,'`; \
- rm -f $${lang}.gmo && $(GMSGFMT) -c --statistics -o t-$${lang}.gmo $${lang}.po && mv t-$${lang}.gmo $${lang}.gmo
+%.gmo : $(srcdir)/%.po
+ @lang=`echo $(srcdir)/$* | sed -e 's,.*/,,'`; \
+ rm -f $${lang}.gmo && $(GMSGFMT) -c --statistics -o t-$${lang}.gmo $(srcdir)/$${lang}.po && mv t-$${lang}.gmo $${lang}.gmo
$(DOMAIN).pot: $(GETTEXT_SRC)
$(XGETTEXT) -o$@ --default-domain=$(DOMAIN) \
--add-comments=TRANSLATORS: --language=Shell \
$(XGETTEXT_OPTIONS) $<
+check check_recursive:
+
clean:
rm -f $(CATALOGS) $(POFILES:.po=.mo) $(DOMAIN).pot
update-po: $(DOMAIN).pot
@for po in $(POFILES); do \
- $(MSGMERGE_UPDATE) $$po $(DOMAIN).pot; \
+ $(MSGMERGE_UPDATE) $(srcdir)/$$po $(DOMAIN).pot; \
done
install-data-no: