aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2008-08-20 08:52:30 +0000
committerAlexis Ballier <aballier@gentoo.org>2008-08-20 08:52:30 +0000
commitf0beb4cb27fd942e043a1a28d2d0310d6506c4cf (patch)
treef86900dc5fdae31b63f44a1e5ec25e4ce01f7261 /scripts/texlive/tlpsrc/Makefile
parentgenerate licenselists files from the catalogue (diff)
downloadaballier-f0beb4cb27fd942e043a1a28d2d0310d6506c4cf.tar.gz
aballier-f0beb4cb27fd942e043a1a28d2d0310d6506c4cf.tar.bz2
aballier-f0beb4cb27fd942e043a1a28d2d0310d6506c4cf.zip
map catalogue licenses to ours
svn path=/; revision=298
Diffstat (limited to 'scripts/texlive/tlpsrc/Makefile')
-rw-r--r--scripts/texlive/tlpsrc/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/scripts/texlive/tlpsrc/Makefile b/scripts/texlive/tlpsrc/Makefile
index 9acdac2..7b2d2ee 100644
--- a/scripts/texlive/tlpsrc/Makefile
+++ b/scripts/texlive/tlpsrc/Makefile
@@ -29,6 +29,9 @@ lists : $(FULLDESC:%=%.list) $(FULLDESC:%=%.base)
%.licenselist: %.tlpobj
./getlicense.sh $(shell cat $(<:%.tlpobj=%.list)) | sort | uniq | tr '\n' ' ' > $@
+%.gentoolicense: %.licenselist
+ ./cataloguelicense2gentoolicense.sh $(shell cat $<) | sort | uniq | tr '\n' ' ' > $@
+
%.desc: %.base
grep "shortdesc " $< | sed -e "s/shortdesc //" | sed -e "s/.*/DESCRIPTION=\"TeXLive \0\"/" > $@
@@ -120,7 +123,9 @@ ebuilds: dist $(DESC:%=%.desc) $(DESC:%=%.ebuild) $(DESC:%=%.deps)
tlpobj: $(DESC:%=%.tlpobj)
-licenselist: $(DESC:%=%.licenselist)
+licenselist: $(DESC:%=%.licenselist) $(EXTRA_DIST:%=%.licenselist)
+
+gentoolicenses: $(DESC:%=%.gentoolicense) $(EXTRA_DIST:%=%.gentoolicense)
%.installed: %.ebuild %.metadata
$(MKDIRP) $(TEXLIVE_OVERLAY_LOCATION)/dev-texlive/$(@:%.installed=%)