summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPatrick McDermott <pj@pehjota.net>2017-10-27 17:45:42 (EDT)
committer Patrick McDermott <pj@pehjota.net>2017-10-27 17:45:42 (EDT)
commite0cb1377618882166969272cf822b8c2e522d6a0 (patch)
treefd69f3ea3b2272d90773d02f8fd2222f8665b760
parentae06dad93bada3d44e648c5280de5b7bbb17ac2a (diff)
downloadmarquee-e0cb1377618882166969272cf822b8c2e522d6a0.zip
marquee-e0cb1377618882166969272cf822b8c2e522d6a0.tar.gz
marquee-e0cb1377618882166969272cf822b8c2e522d6a0.tar.bz2
data/Makefile.am: New file
-rw-r--r--Makefile.am2
-rw-r--r--configure.ac3
-rw-r--r--data/Makefile.am29
3 files changed, 33 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am
index d704905..f026e0f 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -55,3 +55,5 @@ marquee$(EXEEXT): $(marquee_OBJECTS) $(marquee_DEPENDENCIES) \
$(LIBS)
include $(top_srcdir)/src/local.mk
+
+SUBDIRS = data
diff --git a/configure.ac b/configure.ac
index 2b4ba54..ee5b626 100644
--- a/configure.ac
+++ b/configure.ac
@@ -31,6 +31,7 @@ AM_CONDITIONAL([IN_GIT],
AC_PROG_CC()
AM_PROG_CC_C_O()
+AC_PROG_LN_S()
AX_CHECK_COMPILE_FLAG([-std=c99], [CFLAGS="${CFLAGS} -std=c99"], [], [])
@@ -89,6 +90,6 @@ else
[Define to 1 to run executable in place from build directory.])
fi
-AC_CONFIG_FILES([Makefile])
+AC_CONFIG_FILES([Makefile data/Makefile])
AC_CONFIG_HEADERS([config.h])
AC_OUTPUT()
diff --git a/data/Makefile.am b/data/Makefile.am
new file mode 100644
index 0000000..65ffa6a
--- /dev/null
+++ b/data/Makefile.am
@@ -0,0 +1,29 @@
+# Process this file with automake to produce an input makefile.
+#
+# Copyright (C) 2017 Patrick McDermott
+#
+# This file is part of Marquee.
+#
+# Marquee is free software: you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# Marquee is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with Marquee. If not, see <http://www.gnu.org/licenses/>.
+
+SUFFIXES = .htmlin .html
+
+nobase_dist_pkgdata_DATA = \
+ resources/gpl-3.0-standalone.html
+
+CLEANFILES = $(nobase_dist_pkgdata_DATA)
+
+.htmlin.html:
+ $(AM_V_GEN)out=$@; $(MKDIR_P) $${out%/*}
+ $(AM_V_at)$(LN_S) $(abs_builddir)/$< $(abs_builddir)/$@