diff options
author | Guillaume Rousse <guillomovitch@mandriva.org> | 2007-03-05 12:03:28 +0000 |
---|---|---|
committer | Guillaume Rousse <guillomovitch@mandriva.org> | 2007-03-05 12:03:28 +0000 |
commit | 9f85e747d04cc21a9e2b23a55b36149390907026 (patch) | |
tree | 639faf67bb5f8e07e4da2c5f0abdfa38c322d3ac /Makefile | |
parent | 0eda59106af8bd04a8a79aefa6f2ee7c1e71d6bc (diff) | |
download | rpm-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-- | Makefile | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -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 || : |