redhat-rpm-config/Makefile
Panu Matilainen de76474f35 Remove "upstream reference" spec file
- this makes no sense as the spec needs to be separately maintained
  for distribution versions separately anyway
2010-01-26 15:52:39 +02:00

25 lines
543 B
Makefile

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/
rm -f $(DESTDIR)/usr/lib/rpm/redhat/Makefile
tag-archive:
git tag -a $(CVSTAG)
create-archive:
git archive --format=tar --prefix=redhat-rpm-config-$(VERSION)/ HEAD | bzip2 -9v > redhat-rpm-config-$(VERSION).tar.bz2
@echo "The final archive is in $(NAME)-$(VERSION).tar.bz2"
archive: tag-archive create-archive
dist: create-archive