From 5a6dbf7d3da8e5bdda3facb7c8aff2d2b9566ee6 Mon Sep 17 00:00:00 2001 From: Lukas Nykryn Date: Fri, 24 May 2013 12:06:54 +0200 Subject: do not process traslations of initscripts in other packages --- po/Makefile | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) (limited to 'po') 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; \ -- cgit v1.2.1