aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLukas Nykryn <lnykryn@redhat.com>2013-05-24 12:06:54 +0200
committerLukas Nykryn <lnykryn@redhat.com>2013-05-24 12:22:57 +0200
commit5a6dbf7d3da8e5bdda3facb7c8aff2d2b9566ee6 (patch)
tree7bf7357d12cd23efdd9462602f2d1e66fa6cfa4e
parent7b9fcc26929d2aacab9fee6ed530c051a73c7b85 (diff)
downloadinitscripts-5a6dbf7d3da8e5bdda3facb7c8aff2d2b9566ee6.tar
initscripts-5a6dbf7d3da8e5bdda3facb7c8aff2d2b9566ee6.tar.gz
initscripts-5a6dbf7d3da8e5bdda3facb7c8aff2d2b9566ee6.tar.bz2
initscripts-5a6dbf7d3da8e5bdda3facb7c8aff2d2b9566ee6.tar.xz
initscripts-5a6dbf7d3da8e5bdda3facb7c8aff2d2b9566ee6.zip
do not process traslations of initscripts in other packages
-rw-r--r--po/Makefile10
1 files changed, 3 insertions, 7 deletions
diff --git a/po/Makefile b/po/Makefile
index c321d661..fb81b9ac 100644
--- a/po/Makefile
+++ b/po/Makefile
@@ -10,16 +10,12 @@ NLSPACKAGE = initscripts
CATALOGS = $(shell ls *.po)
FMTCATALOGS = $(patsubst %.po,%.mo,$(CATALOGS))
-POTFILES = /etc/ppp/ip* /etc/rc.d/init.d/* \
- $(shell ls /etc/sysconfig/network-scripts/* | grep -v ifcfg-) \
- /sbin/service /usr/sbin/sys-unconfig
+POTFILES = ../ppp/ip* $(shell ls ../sysconfig/network-scripts/* | grep -v ifcfg-) \
+ ../service ../sys-unconfig ../systemd/fedora-* ../rc.d/init.d/*
all: $(NLSPACKAGE).pot $(FMTCATALOGS)
-$(NLSPACKAGE).pot:
- @echo "Please don't run 'make initscripts.pot unless you have a *FULL*, current install."
-
-new-pot-file-i-really-mean-it: $(POTFILES)
+$(NLSPACKAGE).pot: $(POTFILES)
./xgettext_sh.py $(POTFILES) > $(NLSPACKAGE).po
if cmp -s $(NLSPACKAGE).po $(NLSPACKAGE).pot; then \
rm -f $(NLSPACKAGE).po; \