diff options
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=%) |