From e0cb1377618882166969272cf822b8c2e522d6a0 Mon Sep 17 00:00:00 2001 From: Patrick McDermott Date: Fri, 27 Oct 2017 17:45:42 -0400 Subject: data/Makefile.am: New file --- 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 . + +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)/$@ -- cgit v0.9.1