redhat-rpm-config/Makefile

27 lines
615 B
Makefile
Raw Normal View History

2002-12-04 04:57:53 +00:00
NAME=redhat-rpm-config
VERSION=9.1.0
2002-12-04 04:57:53 +00:00
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/
rm -f $(DESTDIR)/usr/lib/rpm/redhat/Makefile
2002-12-04 04:57:53 +00:00
tag-archive:
@git tag -a $(CVSTAG) -m "$(NAME)-$(VERSION) release"
2002-12-04 04:57:53 +00:00
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"
2002-12-04 04:57:53 +00:00
archive: tag-archive create-archive