From e5cc8aaf2cf501fc7fbd24428efc5bc9f7d8b561 Mon Sep 17 00:00:00 2001 From: Olav Vitters Date: Sun, 26 Jul 2020 16:42:41 +0200 Subject: mandrake/Makefile: remove every unused functionality which has been broken since ~2011 --- mandriva/Makefile | 39 --------------------------------------- 1 file changed, 39 deletions(-) (limited to 'mandriva') 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 -- cgit v1.2.1