diff options
Diffstat (limited to 'Master/tlpkg/texworks/share/poppler')
-rw-r--r-- | Master/tlpkg/texworks/share/poppler/Makefile | 21 | ||||
-rw-r--r-- | Master/tlpkg/texworks/share/poppler/poppler-data.pc | 8 | ||||
-rw-r--r-- | Master/tlpkg/texworks/share/poppler/poppler-data.pc.in | 8 |
3 files changed, 33 insertions, 4 deletions
diff --git a/Master/tlpkg/texworks/share/poppler/Makefile b/Master/tlpkg/texworks/share/poppler/Makefile index 05da119a8ad..174ea87806d 100644 --- a/Master/tlpkg/texworks/share/poppler/Makefile +++ b/Master/tlpkg/texworks/share/poppler/Makefile @@ -1,26 +1,28 @@ PACKAGE = poppler-data -VERSION = 0.4.6 +VERSION = 0.4.7 distdir = $(PACKAGE)-$(VERSION) prefix = /usr/local datadir = $(prefix)/share pkgdatadir = $(datadir)/poppler -all : +all : poppler-data.pc -install : +install : all install -d -m 0755 $(DESTDIR)$(pkgdatadir)/cidToUnicode install -m 0644 $(cid-to-unicode-files) $(DESTDIR)$(pkgdatadir)/cidToUnicode install -d -m 0755 $(DESTDIR)$(pkgdatadir)/nameToUnicode install -m 0644 $(name-to-unicode-files) $(DESTDIR)$(pkgdatadir)/nameToUnicode install -d -m 0755 $(DESTDIR)$(pkgdatadir)/unicodeMap install -m 0644 $(unicode-map-files) $(DESTDIR)$(pkgdatadir)/unicodeMap + install -d -m 0755 $(DESTDIR)$(datadir)/pkgconfig + install -m 0644 poppler-data.pc $(DESTDIR)$(datadir)/pkgconfig for f in $(cmap-files); do \ install -d -m 0755 $(DESTDIR)$(pkgdatadir)/`dirname $$f`; \ install -m 0644 $$f $(DESTDIR)$(pkgdatadir)/$$f; \ done -distdir : $(DISTFILES) +distdir : $(DISTFILES) all rm -rf $(distdir) mkdir $(distdir) for f in $(DISTFILES); do \ @@ -35,6 +37,15 @@ dist : distdir clean : rm -rf $(distdir) +# poppler-data.pc is not a real PHONY target, but this trick +# allows to force-generate it when needed. +.PHONY: poppler-data.pc +poppler-data.pc : poppler-data.pc.in + sed -e 's!@prefix@!$(prefix)!g' \ + -e 's!@pkgdatadir@!$(pkgdatadir)!g' \ + -e 's/@VERSION@/$(VERSION)/g' \ + poppler-data.pc.in > poppler-data.pc + unicode-map-files = \ unicodeMap/Big5 \ unicodeMap/Big5ascii \ @@ -292,6 +303,8 @@ cid-to-unicode-files = \ cidToUnicode/Adobe-Korea1 DISTFILES = \ + poppler-data.pc.in \ + poppler-data.pc \ Makefile \ README \ COPYING \ diff --git a/Master/tlpkg/texworks/share/poppler/poppler-data.pc b/Master/tlpkg/texworks/share/poppler/poppler-data.pc new file mode 100644 index 00000000000..d904e98dd76 --- /dev/null +++ b/Master/tlpkg/texworks/share/poppler/poppler-data.pc @@ -0,0 +1,8 @@ +poppler_datadir=/usr/local/share/poppler + +Name: poppler-data +Description: Encoding files for use with poppler +Version: 0.4.7 + +Cflags: -DPOPPLER_DATADIR=/usr/local/share/poppler + diff --git a/Master/tlpkg/texworks/share/poppler/poppler-data.pc.in b/Master/tlpkg/texworks/share/poppler/poppler-data.pc.in new file mode 100644 index 00000000000..b9741162db5 --- /dev/null +++ b/Master/tlpkg/texworks/share/poppler/poppler-data.pc.in @@ -0,0 +1,8 @@ +poppler_datadir=@pkgdatadir@ + +Name: poppler-data +Description: Encoding files for use with poppler +Version: @VERSION@ + +Cflags: -DPOPPLER_DATADIR=@pkgdatadir@ + |