Include example and website directories in release tarballs.

This commit is contained in:
David Thompson 2015-08-10 09:04:42 -04:00
parent 7c491608f8
commit c3df5ff848
6 changed files with 59 additions and 5 deletions

4
.gitignore vendored
View File

@ -1,5 +1,5 @@
/Makefile
/Makefile.in
Makefile
Makefile.in
/aclocal.m4
/autom4te.cache/
/build-aux/

View File

@ -63,3 +63,7 @@ SOURCES = \
EXTRA_DIST += \
pre-inst-env.in \
README.md
SUBDIRS = \
example \
website

View File

@ -6,7 +6,7 @@ AC_CONFIG_AUX_DIR([build-aux])
AM_INIT_AUTOMAKE([color-tests -Wall -Wno-portability foreign])
AM_SILENT_RULES([yes])
AC_CONFIG_FILES([Makefile haunt/config.scm])
AC_CONFIG_FILES([Makefile example/Makefile website/Makefile haunt/config.scm])
AC_CONFIG_FILES([pre-inst-env], [chmod +x pre-inst-env])
AC_CONFIG_FILES([scripts/haunt], [chmod +x scripts/haunt])

24
example/Makefile.am Normal file
View File

@ -0,0 +1,24 @@
## Haunt --- Static site generator for GNU Guile
## Copyright © 2015 David Thompson <davet@gnu.org>
##
## This file is part of Haunt.
##
## Haunt 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.
##
## Haunt 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 Haunt. If not, see <http://www.gnu.org/licenses/>.
exampledir = $(pkgdatadir)/example
nobase_dist_example_DATA = \
haunt.scm \
images/guile-banner.small.png \
posts/foo.sxml \
posts/bar.html

View File

@ -1,2 +0,0 @@
publish:
rsync -P -rvz --delete site/ blog@dthompson.us:/var/www/haunt --cvs-exclude

28
website/Makefile.am Normal file
View File

@ -0,0 +1,28 @@
## Haunt --- Static site generator for GNU Guile
## Copyright © 2015 David Thompson <davet@gnu.org>
##
## This file is part of Haunt.
##
## Haunt 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.
##
## Haunt 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 Haunt. If not, see <http://www.gnu.org/licenses/>.
dist_noinst_DATA = \
haunt.scm \
css/main.css \
css/reset.css \
images/haunt.png \
js/piwik.js \
posts/0.1-release.sxml
publish:
rsync -P -rvz --delete site/ blog@dthompson.us:/var/www/haunt --cvs-exclude