diff options
author | Timothy Pearson <[email protected]> | 2011-11-06 15:56:34 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2011-11-06 15:56:34 -0600 |
commit | b529f046c9a64ac5fcfa60747af940cf972b3ebc (patch) | |
tree | 83c28cf7fa8fed1960ebd3924b579e7ed8c95cc6 /tdeprint/descriptions/Makefile.am | |
parent | 6508fe4c40c60fd7a43bd3d9e19b762e10ea3f53 (diff) | |
download | tdebase-b529f046c9a64ac5fcfa60747af940cf972b3ebc.tar.gz tdebase-b529f046c9a64ac5fcfa60747af940cf972b3ebc.zip |
Actually move the kde files that were renamed in the last commit
Diffstat (limited to 'tdeprint/descriptions/Makefile.am')
-rw-r--r-- | tdeprint/descriptions/Makefile.am | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/tdeprint/descriptions/Makefile.am b/tdeprint/descriptions/Makefile.am new file mode 100644 index 000000000..66b8205e6 --- /dev/null +++ b/tdeprint/descriptions/Makefile.am @@ -0,0 +1,24 @@ +KDE_OPTIONS = qtonly +# Note: sortthem does not sort! (It is just a sort of uniq(1) + +INCLUDES = $(all_includes) + +EXTRA_PROGRAMS = sortthem + +sortthem_SOURCES = sortthem.cpp +sortthem_LDFLAGS = $(all_libraries) $(LIB_QT) + +printers.cpp: sortthem + : > printers.cpp + for i in `find /usr/share/cups/model -type f ! -name '*.gz'`; do perl $(srcdir)/readppd < $$i >> printers.cpp; done + for i in `find /usr/share/cups/model -type f -name '*.gz'`; do \ + gzip -cd $$i | perl $(srcdir)/readppd >> printers.cpp; done + iconv -flatin1 -tutf-8 printers.cpp | grep -v '"[-0-9][0-9]*")' > printers.new + mv printers.new printers.cpp + ./sortthem < printers.cpp | perl -n -e "print \"// xgettext: no-c-format\n\".\$$_;" > printers.new && mv printers.new $(srcdir)/printers.cpp + +messages: + $(XGETTEXT) printers.cpp -o $(podir)/ppdtranslations.pot + +.PHONY: printers.cpp + |