diff options
Diffstat (limited to 'Build/source/libs/libpaper/libpaper-1.1.24+nmu2/lib/Makefile.am')
-rw-r--r-- | Build/source/libs/libpaper/libpaper-1.1.24+nmu2/lib/Makefile.am | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/Build/source/libs/libpaper/libpaper-1.1.24+nmu2/lib/Makefile.am b/Build/source/libs/libpaper/libpaper-1.1.24+nmu2/lib/Makefile.am new file mode 100644 index 00000000000..3375cc05d38 --- /dev/null +++ b/Build/source/libs/libpaper/libpaper-1.1.24+nmu2/lib/Makefile.am @@ -0,0 +1,21 @@ + +lib_LTLIBRARIES = libpaper.la +libpaper_la_SOURCES = dimen.c paper.c dimen.h paperspecs.h +libpaper_la_LDFLAGS = -version-info 2:2:1 +libpaper_la_CPPFLAGS = -D_REENTRANT + +BUILT_SOURCES = paperspecs.h + +include_HEADERS = paper.h + +EXTRA_DIST = paperspecs + +paperspecs.h: paperspecs Makefile + echo ' /* This file has been automaticaly generated.' >$@ + echo ' Edit paperspecs to make changes to the papers specifications. */' >>$@ + echo >>$@ + env LANG=C LC_ALL=C awk '{ factor = 1.0; \ + if ($$4 == "mm") factor = 72.0 / 25.4; \ + if ($$4 == "in") factor = 72.0; \ + printf(" { \"%s\", %5f, %5f },\n", \ + $$1, $$2 * factor, $$3 * factor); }' < $< >> $@ |