diff options
author | Alexis Ballier <aballier@gentoo.org> | 2008-08-20 08:52:30 +0000 |
---|---|---|
committer | Alexis Ballier <aballier@gentoo.org> | 2008-08-20 08:52:30 +0000 |
commit | f0beb4cb27fd942e043a1a28d2d0310d6506c4cf (patch) | |
tree | f86900dc5fdae31b63f44a1e5ec25e4ce01f7261 /scripts/texlive/tlpsrc/Makefile | |
parent | generate licenselists files from the catalogue (diff) | |
download | aballier-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/Makefile | 7 |
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=%) |