From cf1b6d43eb5c4e42245686a0b5005cf490cfad09 Mon Sep 17 00:00:00 2001 From: Martin Kretzschmar Date: Mon, 19 May 2003 17:49:35 +0000 Subject: [PATCH] don't distribute generated marshallers --- pdf/xpdf/Makefile.am | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/pdf/xpdf/Makefile.am b/pdf/xpdf/Makefile.am index f9d2330a..a8c3a23d 100644 --- a/pdf/xpdf/Makefile.am +++ b/pdf/xpdf/Makefile.am @@ -16,7 +16,7 @@ else gui = xpdf endif -BUILT_SOURCES = \ +marshal_sources = \ gpdf-marshal.c \ gpdf-marshal.h @@ -151,7 +151,7 @@ gnome_pdf_viewer_SOURCES = \ pdf-info-dict-util.h \ pdf-properties-display.c \ pdf-properties-display.h \ - $(BUILT_SOURCES) + $(marshal_sources) # Old files @@ -280,3 +280,11 @@ EXTRA_DIST = $(stock_DATA) \ config.h \ $(ui_DATA) \ $(glade_DATA) + +DONT_DIST_SOURCE = $(marshal_sources) + +dist-hook: + for file in $(DONT_DIST_SOURCE) ; do \ + rm -f $(distdir)/$$file ; \ + done + -- 2.43.5