summaryrefslogtreecommitdiff
path: root/po
diff options
context:
space:
mode:
authorewt <devnull@localhost>1996-09-25 19:18:16 +0000
committerewt <devnull@localhost>1996-09-25 19:18:16 +0000
commitaff4e65e7e026bdee26c899cd41617325ff904f4 (patch)
tree8ca0001fe33a6e83a609c7a105a3736a55753aa2 /po
parentca40e9d0a8be7552278774bc03000329d1724c66 (diff)
downloadrpm-aff4e65e7e026bdee26c899cd41617325ff904f4.tar.gz
rpm-aff4e65e7e026bdee26c899cd41617325ff904f4.tar.bz2
rpm-aff4e65e7e026bdee26c899cd41617325ff904f4.zip
use $(INSTALL) for installs
use Makefile.inc added distclean rule CVS patchset: 1058 CVS date: 1996/09/25 19:18:16
Diffstat (limited to 'po')
-rw-r--r--po/Makefile.in18
1 files changed, 10 insertions, 8 deletions
diff --git a/po/Makefile.in b/po/Makefile.in
index 47e1cf1d2..1c39ef585 100644
--- a/po/Makefile.in
+++ b/po/Makefile.in
@@ -1,16 +1,15 @@
-CC = @CC@
-CPP = @CPP@
-
srcdir = @srcdir@
VPATH = $(srcdir)
+include $(srcdir)/../Makefile.inc
+
INSTALL= @INSTALL@
INSTALL_PROGRAM= @INSTALL_PROGRAM@
INSTALL_DATA= @INSTALL_DATA@
CATALOGS = se.mo fr.mo
-POTFILES = ../rpm.c
+POTFILES = $(srcdir)/../rpm.c
all: $(NLSPACKAGE).pot $(CATALOGS)
@@ -26,15 +25,18 @@ $(NLSPACKAGE).pot: $(POTFILES)
clean:
rm -f *mo $(NLSPACKAGE).pot
+distclean: clean
+ rm -f .depend Makefile
+
depend:
install:
- install -m 755 -o 0 -g 0 -d $(NLSDIR)
+ $(INSTALL) -m 755 -o 0 -g 0 -d $(NLSDIR)
for n in $(CATALOGS); do \
l=`basename $$n .mo`; \
- install -m 755 -o 0 -g 0 -d $(NLSDIR)/$$l; \
- install -m 755 -o 0 -g 0 -d $(NLSDIR)/$$l/LC_MESSAGES; \
- install -m 644 -o 0 -g 0 $$n $(NLSDIR)/$$l/LC_MESSAGES/rpm.mo; \
+ $(INSTALL) -m 755 -o 0 -g 0 -d $(NLSDIR)/$$l; \
+ $(INSTALL) -m 755 -o 0 -g 0 -d $(NLSDIR)/$$l/LC_MESSAGES; \
+ $(INSTALL) -m 644 -o 0 -g 0 $$n $(NLSDIR)/$$l/LC_MESSAGES/rpm.mo; \
done
fr.mo: fr.po