summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2016-03-15 13:56:32 +0100
committerChristian Grothoff <christian@grothoff.org>2016-03-15 13:56:32 +0100
commit9d76bbc96333942d4e2a22b8a27a67068408608c (patch)
tree65febb7c648364c0ba16b18e34ccbafc71de8b80
parent19e9a9bcdb520425700da30608d97427b0cc829e (diff)
downloadmerchant-9d76bbc96333942d4e2a22b8a27a67068408608c.tar.gz
merchant-9d76bbc96333942d4e2a22b8a27a67068408608c.tar.bz2
merchant-9d76bbc96333942d4e2a22b8a27a67068408608c.zip
fixing build system to include examples
-rw-r--r--Makefile.am2
-rw-r--r--configure.ac7
-rw-r--r--examples/Makefile.am2
-rw-r--r--examples/blog/articles/Makefile.am67
4 files changed, 77 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am
index ce2fe3ed..e32dcf93 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -1,4 +1,4 @@
# the following definition tells where others .am are located
AM_CPPFLAGS = -I$(top_srcdir)/src/include
-SUBDIRS = src #doc
+SUBDIRS = src copylib examples
ACLOCAL_AMFLAGS = -I m4
diff --git a/configure.ac b/configure.ac
index 6587a16e..f4be21a5 100644
--- a/configure.ac
+++ b/configure.ac
@@ -214,6 +214,13 @@ AC_TYPE_UINTMAX_T
AC_CHECK_FUNCS([strdup])
AC_CONFIG_FILES([Makefile
+examples/Makefile
+examples/blog/Makefile
+examples/blog/articles/Makefile
+examples/blog/web-common/Makefile
+examples/shop/Makefile
+examples/shop/web-common/Makefile
+copylib/Makefile
src/Makefile
src/include/Makefile
src/backenddb/Makefile
diff --git a/examples/Makefile.am b/examples/Makefile.am
new file mode 100644
index 00000000..a7b5815d
--- /dev/null
+++ b/examples/Makefile.am
@@ -0,0 +1,2 @@
+# This Makefile is in the public domain
+SUBDIRS = blog shop
diff --git a/examples/blog/articles/Makefile.am b/examples/blog/articles/Makefile.am
new file mode 100644
index 00000000..7f01b137
--- /dev/null
+++ b/examples/blog/articles/Makefile.am
@@ -0,0 +1,67 @@
+# This Makefile.am is in the public domain
+EXTRA_DIST = \
+ arabic.jpg \
+ japanese-kanji.jpg \
+ scrap1_18.html \
+ scrap1_29.html \
+ scrap1_3.html \
+ scrap1_9.html \
+ belarusian.jpg \
+ korean.jpg \
+ scrap1_19.html \
+ scrap1_2.html \
+ scrap1_40.html \
+ scrap1_U.0.html \
+ bulgarian.jpg \
+ scrap1_1.html \
+ scrap1_30.html \
+ scrap1_41.html \
+ scrap1_U.1.html \
+ category.jpg \
+ russian.jpg \
+ scrap1_20.html \
+ scrap1_31.html \
+ scrap1_42.html \
+ serbian-croatian.jpg \
+ chinese-simplified.jpg \
+ scrap1_10.html \
+ scrap1_21.html \
+ scrap1_32.html \
+ scrap1_43.html \
+ song-book-jutta-scrunch-crop.jpg \
+ chinese-traditional.jpg \
+ scrap1_11.html \
+ scrap1_22.html \
+ scrap1_33.html \
+ scrap1_46.html \
+ tamil.jpg \
+ code.jpg \
+ scrap1_12.html \
+ scrap1_23.html \
+ scrap1_34.html \
+ scrap1_47.html \
+ ukrainian.jpg \
+ COPYING \
+ scrap1_13.html \
+ scrap1_24.html \
+ scrap1_35.html \
+ scrap1_4.html \
+ scrap1_14.html \
+ scrap1_25.html \
+ scrap1_36.html \
+ scrap1_5.html \
+ farsi.jpg \
+ scrap1_15.html \
+ scrap1_26.html \
+ scrap1_37.html \
+ scrap1_6.html \
+ greek.jpg \
+ scrap1_16.html \
+ scrap1_27.html \
+ scrap1_38.html \
+ scrap1_7.html \
+ japanese-kana.jpg \
+ scrap1_17.html \
+ scrap1_28.html \
+ scrap1_39.html \
+ scrap1_8.html