[dia] Fix make distcheck and include developer only stress plug-in in tarball



commit c2f8cacd38459232885f4de28ba9ca021d16700a
Author: Hans Breuer <hans breuer org>
Date:   Sun Sep 11 13:25:48 2011 +0200

    Fix make distcheck and include developer only stress plug-in in tarball
    
    plug-ins/stress is not for users and not to be translated

 configure.in                |    1 +
 plug-ins/Makefile.am        |    2 +-
 plug-ins/stress/Makefile.am |    9 +++++++++
 po/POTFILES.in              |    1 -
 po/POTFILES.skip            |    4 ++++
 5 files changed, 15 insertions(+), 2 deletions(-)
---
diff --git a/configure.in b/configure.in
index cc2e24c..1a2ab48 100644
--- a/configure.in
+++ b/configure.in
@@ -655,6 +655,7 @@ plug-ins/pstricks/Makefile
 plug-ins/pgf/Makefile
 plug-ins/python/Makefile
 plug-ins/shape/Makefile
+plug-ins/stress/Makefile
 plug-ins/svg/Makefile
 plug-ins/vdx/Makefile
 plug-ins/wmf/Makefile
diff --git a/plug-ins/Makefile.am b/plug-ins/Makefile.am
index f54fbbd..c29ffec 100644
--- a/plug-ins/Makefile.am
+++ b/plug-ins/Makefile.am
@@ -1,7 +1,7 @@
 # Remember to also add subdirs in configure.in
 SUBDIRS = cgm cairo pstricks hpgl wpg svg shape dxf python xfig \
 	  wmf libart metapost xslt pixbuf pgf vdx postscript \
-	  drs
+	  drs stress
 
 EXTRA_DIST = \
 	makefile.msc objects.def
diff --git a/plug-ins/stress/Makefile.am b/plug-ins/stress/Makefile.am
new file mode 100644
index 0000000..5e1fa07
--- /dev/null
+++ b/plug-ins/stress/Makefile.am
@@ -0,0 +1,9 @@
+## This is currently windows+development only
+## It should be easy to port but never get installed
+EXTRA_DIST = \
+	stress.c \
+	stress-memory.c \
+	stress-memory.h
+
+# see also po/POTFILES.skip
+
diff --git a/po/POTFILES.in b/po/POTFILES.in
index a667011..d58006f 100644
--- a/po/POTFILES.in
+++ b/po/POTFILES.in
@@ -224,7 +224,6 @@ plug-ins/python/pydia-render.c
 plug-ins/python/python.c
 plug-ins/shape/shape-export.c
 plug-ins/shape/shape.c
-plug-ins/stress/stress.c
 plug-ins/svg/render_svg.c
 plug-ins/svg/svg-import.c
 plug-ins/svg/svg.c
diff --git a/po/POTFILES.skip b/po/POTFILES.skip
index b2926c0..40c06fe 100644
--- a/po/POTFILES.skip
+++ b/po/POTFILES.skip
@@ -11,4 +11,8 @@ plug-ins/python/gtkcons.py
 plug-ins/python/aobjects.py
 plug-ins/python/diasvg.py
 plug-ins/python/doxrev.py
+plug-ins/stress/stress.c
+plug-ins/stress/stress-memory.c
+plug-ins/stress/stress-memory.h
+
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]