diff options
author | Olav Vitters <olav@vitters.nl> | 2020-07-26 16:42:41 +0200 |
---|---|---|
committer | Olav Vitters <olav@vitters.nl> | 2020-07-26 16:42:41 +0200 |
commit | e5cc8aaf2cf501fc7fbd24428efc5bc9f7d8b561 (patch) | |
tree | c4eb1243a1f382b4354e94872e8cec8c5a66819a /mandriva | |
parent | 347da192bf1f424324b48194efa95e8b013519a3 (diff) | |
download | initscripts-e5cc8aaf2cf501fc7fbd24428efc5bc9f7d8b561.tar initscripts-e5cc8aaf2cf501fc7fbd24428efc5bc9f7d8b561.tar.gz initscripts-e5cc8aaf2cf501fc7fbd24428efc5bc9f7d8b561.tar.bz2 initscripts-e5cc8aaf2cf501fc7fbd24428efc5bc9f7d8b561.tar.xz initscripts-e5cc8aaf2cf501fc7fbd24428efc5bc9f7d8b561.zip |
mandrake/Makefile: remove every unused functionality which has been broken since ~2011
Diffstat (limited to 'mandriva')
-rw-r--r-- | mandriva/Makefile | 39 |
1 files changed, 0 insertions, 39 deletions
diff --git a/mandriva/Makefile b/mandriva/Makefile index 950bc37c..85dd7533 100644 --- a/mandriva/Makefile +++ b/mandriva/Makefile @@ -1,23 +1,15 @@ -# $Id$ NAME=initscripts CFLAGS=-g -O2 -Wall -SVNROOT = svn+ssh://svn.mandriva.com/svn/soft/initscripts -SVNCOPY = $(shell LC_ALL=C svn info ..|fgrep 'URL:'|cut -f 2 -d\ ) ROOT=/ -LOCALSRPM=/SRPMS/main/release -ARCH := $(shell uname -m) SH := $(shell echo *.sh) listhome $(shell echo mandrake_*) rc.modules mdv-network-event network-up mandir=/usr/share VERSION:=$(shell rpm -q --qf '%{VERSION}\n' --specfile ../$(NAME).spec | head -n 1) RELEASE:=$(shell rpm -q --qf '%{RELEASE}\n' --specfile ../$(NAME).spec | head -n 1) -RELTAG := $(shell echo "V$(VERSION)_$(RELEASE)" | tr -- '-.' '__') RH_TAG:=rh$(subst .,_,$(VERSION)) -RPM := $(shell if [ -n "$$RPM" ]; then echo $$RPM; else rpm --eval '%{_topdir}'; fi) SUBDIRS = partmon vpn PROFILE_LEVEL=10 -RPMOPT = --clean all: @@ -55,34 +47,3 @@ install: all check install -m755 lsb-init-functions $(ROOT)/usr/lib/lsb/init-functions install -m755 mdv-network-event $(ROOT)/usr/sbin/ - -localchangelog: -#svn2cl is available in our contrib. - ( cd ..; \ - svn cat `dirname $(SVNROOT)`/common/username.xml > $$TMPDIR/username.xml; \ - svn2cl --authors $$TMPDIR/username.xml --accum -o mandriva/ChangeLog; \ - rm -f mandriva/ChangeLog.bak $$TMPDIR/username.xml; \ - ) - -changelog: localchangelog - svn commit -m "Generated by svn2cl the `date '+%c'`" ChangeLog - -rpm: $(RPM) changelog source svntag diff build - -source: - [ -r $(RPM)/SOURCES/initscripts-$(VERSION).tar.bz2 ] || (cd $(RPM)/SOURCES/; rpm2cpio $(LOCALSRPM)/initscripts-$(VERSION)*.src.rpm|cpio -iuvm '*.tar.bz2';chmod 644 initscripts-*.tar.bz2 ;) - -svntag: - svn copy $(SVNCOPY) $(SVNROOT)/tags/$(RELTAG) -m "$(RELTAG)" - -diff: - cd ../; LC_ALL=C svn diff $(SVNROOT)/tags/$(RH_TAG) $(SVNCOPY) > $(RPM)/SOURCES/initscripts-mdkconf.patch - -build: - rpmbuild -ba $(RPMOPT) ../initscripts.spec - -# special target to build the rpm without commiting to the svn base -localrpm: $(RPM) localchangelog source localdiff build - -# FIXME: we need to diff working copy with a remote branch (from url) -localdiff: diff |