aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorGuillaume Rousse <guillomovitch@mandriva.org>2007-03-05 12:03:28 +0000
committerGuillaume Rousse <guillomovitch@mandriva.org>2007-03-05 12:03:28 +0000
commit9f85e747d04cc21a9e2b23a55b36149390907026 (patch)
tree639faf67bb5f8e07e4da2c5f0abdfa38c322d3ac /Makefile
parent0eda59106af8bd04a8a79aefa6f2ee7c1e71d6bc (diff)
downloadrpm-helper-9f85e747d04cc21a9e2b23a55b36149390907026.tar
rpm-helper-9f85e747d04cc21a9e2b23a55b36149390907026.tar.gz
rpm-helper-9f85e747d04cc21a9e2b23a55b36149390907026.tar.bz2
rpm-helper-9f85e747d04cc21a9e2b23a55b36149390907026.tar.xz
rpm-helper-9f85e747d04cc21a9e2b23a55b36149390907026.zip
fix installation and substitutions
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index 3d16445..4452809 100644
--- a/Makefile
+++ b/Makefile
@@ -9,15 +9,15 @@ MACROS_FILES = rpm-helper.macros
FILES = AUTHORS README README.CVS COPYING ChangeLog Makefile \
$(SCRIPT_FILES) $(MACROS_FILES:=.in)
-pkgdatadir = /usr/share/$(PACKAGE)
-rpmacrosdir = /etc/rpm/macros.d
+pkgdatadir = /usr/share/$(PACKAGE)
+rpmmacrosdir = /etc/rpm/macros.d
all:
@echo "use make install or make dist"
install: $(MACROS_FILES)
install -d -m 755 $(DESTDIR)$(pkgdatadir)
- cp -p $(SCRIPTS) $(DESTDIR)$(pkgdatadir)
+ cp -p $(SCRIPT_FILES) $(DESTDIR)$(pkgdatadir)
install -d -m 755 $(DESTDIR)$(rpmacrosdir)
install -m 644 $(MACROS_FILES) $(DESTDIR)/$(rpmmacrosdir)
@@ -47,7 +47,7 @@ tar:
# rules to build a public distribution
-dist: changelog cleandist dir localcopy tar
+dist: changelog cleandist dir localcopy tar svntag
changelog:
svn2cl -o ChangeLog || :