Remove mostly useless Makefile in merge preparation

This commit is contained in:
Panu Matilainen 2014-04-02 10:41:29 +03:00
parent c7d4014777
commit 64c2b57c0d

View File

@ -1,29 +0,0 @@
NAME=redhat-rpm-config
VERSION=9.1.0
CVSTAG = REDHAT_RPM_CONFIG_$(subst .,_,$(VERSION))
all:
clean:
rm -f *~
install:
mkdir -p $(DESTDIR)/usr/lib/rpm/redhat
cp -pr * $(DESTDIR)/usr/lib/rpm/redhat/
mkdir -p $(DESTDIR)/etc/rpm
cp -pr macros.* $(DESTDIR)/etc/rpm/
rm -f $(DESTDIR)/usr/lib/rpm/redhat/{Makefile,ChangeLog}
rm -f $(DESTDIR)/usr/lib/rpm/redhat/macros.*
tag-archive:
@git tag -a $(CVSTAG) -m "$(NAME)-$(VERSION) release"
create-archive:
@git archive --format=tar --prefix=$(NAME)-$(VERSION)/ HEAD | tar xf -
@git log > $(NAME)-$(VERSION)/ChangeLog
@tar cjf $(NAME)-$(VERSION).tar.bz2 $(NAME)-$(VERSION)
@rm -rf $(NAME)-$(VERSION)
@echo "Created $(NAME)-$(VERSION).tar.bz2"
archive: tag-archive create-archive