Update build-system for the new sample/ directory.

git-svn-id: http://tint2.googlecode.com/svn/trunk@233 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
This commit is contained in:
Spooky85@gmail.com 2009-10-25 09:53:21 +00:00
parent 9bfdc0eab0
commit 97a1e6f6c4
3 changed files with 19 additions and 13 deletions

View file

@ -1,21 +1,9 @@
rcdir = $(sysconfdir)/xdg/$(PACKAGE_NAME)
ACLOCAL_AMFLAGS = -I m4
SUBDIRS = doc src
SUBDIRS = doc sample src
dist_doc_DATA = AUTHORS ChangeLog NEWS README
EXTRA_DIST = autogen.sh README.source
dist_rc_DATA = tint2rc
if INSTALL_EXAMPLES
examplesdir = $(docdir)/examples
dist_examples_DATA = tintrc01 tintrc02 tintrc03 tintrc04 tintrc05 tintrc06
else
examplesdir =
dist_examples_DATA =
endif
dist_pkgdata_DATA = default_icon.png
DISTCLEANFILES += configure depcomp config.guess config.sub config.h.in config.h.in~ ltmain.sh missing aclocal.m4 install-sh INSTALL

View file

@ -144,6 +144,7 @@ AC_SUBST(DISTCLEANFILES)
AC_CONFIG_FILES([Makefile
doc/Makefile
sample/Makefile
src/Makefile
src/tint2conf/Makefile])

17
sample/Makefile.am Normal file
View file

@ -0,0 +1,17 @@
rcdir = $(sysconfdir)/xdg/$(PACKAGE_NAME)
dist_rc_DATA = tint2rc
if INSTALL_EXAMPLES
examplesdir = $(docdir)/examples
dist_examples_DATA = default.tint2rc \
vertical_icon_only.tint2rc \
rounded_multi_desktop.tint2rc \
black_single_desktop.tint2rc \
horizontal_icon_only.tint2rc \
white_single_desktop.tint2rc
else
examplesdir =
dist_examples_DATA =
endif