aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2008-08-29 00:10:13 -0400
committerMike Frysinger <vapier@gentoo.org>2008-08-29 00:10:13 -0400
commit71d3a8ae6c0b60c49601ad3497f96773bd786dd8 (patch)
tree4b1e666187582dcd7455681df9d9c9b49682742f
parentrewrite code again to be faster and fix bug in previous commit (#235290) (diff)
downloadrpm2targz-71d3a8ae6c0b60c49601ad3497f96773bd786dd8.tar.gz
rpm2targz-71d3a8ae6c0b60c49601ad3497f96773bd786dd8.tar.bz2
rpm2targz-71d3a8ae6c0b60c49601ad3497f96773bd786dd8.zip
install symlinks for all the fun targets
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
-rw-r--r--Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 3bb7473..20314bb 100644
--- a/Makefile
+++ b/Makefile
@@ -29,6 +29,9 @@ dist-live: clean
install: rpmoffset
$(dodir) $(DESTDIR)$(bindir)
$(dobin) rpm2targz rpmoffset $(DESTDIR)$(bindir)
- $(dosym) rpm2targz $(DESTDIR)$(bindir)/rpm2tar
+ set -e ; \
+ for t in tar tarbz2 tbz2 tarlzma tgz ; do \
+ $(dosym) rpm2targz $(DESTDIR)$(bindir)/rpm2$$t ; \
+ done
.PHONY: all clean install