aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorGuillaume Rousse <guillomovitch@mandriva.org>2007-03-05 11:56:25 +0000
committerGuillaume Rousse <guillomovitch@mandriva.org>2007-03-05 11:56:25 +0000
commit0eda59106af8bd04a8a79aefa6f2ee7c1e71d6bc (patch)
tree95775059601bef299219223dd616b12eebf61f3f /Makefile
parenta3c82a17d1338d425b06b3bc644abae27616705c (diff)
downloadrpm-helper-0eda59106af8bd04a8a79aefa6f2ee7c1e71d6bc.tar
rpm-helper-0eda59106af8bd04a8a79aefa6f2ee7c1e71d6bc.tar.gz
rpm-helper-0eda59106af8bd04a8a79aefa6f2ee7c1e71d6bc.tar.bz2
rpm-helper-0eda59106af8bd04a8a79aefa6f2ee7c1e71d6bc.tar.xz
rpm-helper-0eda59106af8bd04a8a79aefa6f2ee7c1e71d6bc.zip
cleanup makefile
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile17
1 files changed, 8 insertions, 9 deletions
diff --git a/Makefile b/Makefile
index babf782..3d16445 100644
--- a/Makefile
+++ b/Makefile
@@ -1,25 +1,24 @@
PACKAGE = rpm-helper
-VERSION = 0.18.2
+VERSION = 0.18
SVNPATH = svn+ssh://svn.mandriva.com/svn/soft/rpm/$(PACKAGE)
SCRIPT_FILES = add-user del-user add-service del-service create-file \
add-group del-group add-shell del-shell verify-shell \
- add-syslog del-syslog add-webapp del-webapp \
- get-free-syslog-facility get-password
+ add-syslog del-syslog add-webapp del-webapp
MACROS_FILES = rpm-helper.macros
FILES = AUTHORS README README.CVS COPYING ChangeLog Makefile \
$(SCRIPT_FILES) $(MACROS_FILES:=.in)
-pkgdatadir = /usr/share/$(PACKAGE)
-rpmmacrosdir = /etc/rpm/macros.d
+pkgdatadir = /usr/share/$(PACKAGE)
+rpmacrosdir = /etc/rpm/macros.d
all:
@echo "use make install or make dist"
install: $(MACROS_FILES)
install -d -m 755 $(DESTDIR)$(pkgdatadir)
- cp -p $(SCRIPT_FILES) $(DESTDIR)$(pkgdatadir)
- install -d -m 755 $(DESTDIR)$(rpmmacrosdir)
+ cp -p $(SCRIPTS) $(DESTDIR)$(pkgdatadir)
+ install -d -m 755 $(DESTDIR)$(rpmacrosdir)
install -m 644 $(MACROS_FILES) $(DESTDIR)/$(rpmmacrosdir)
rpm-helper.macros: rpm-helper.macros.in
@@ -48,10 +47,10 @@ tar:
# rules to build a public distribution
-dist: changelog cleandist dir localcopy tar svntag
+dist: changelog cleandist dir localcopy tar
changelog:
- svn2cl --strip-prefix soft/rpm/$(PACKAGE)/trunk -o ChangeLog || :
+ svn2cl -o ChangeLog || :
rm -f ChangeLog.bak
svntag: