distromatic/Makefile.am

35 lines
1.4 KiB
Makefile
Raw Normal View History

2011-04-27 21:50:52 +02:00
# This file is part of `distromatic', the QiLinux RPM tool for the distribution
# Copyright (C) 2006 by Davide Madrisan <davide.madrisan@gmail.com>
#
# This program is free software; you can redistribute it and/or modify it under
# the terms of version 2 of the GNU General Public License as published by the
# Free Software Foundation.
#
# This program is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY, to the extent permitted by law; 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
# this program; if not, write to the Free Software Foundation, Inc.,
# 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.
2013-03-02 13:26:45 +01:00
auxdir = @ac_aux_dir@
2011-04-27 21:50:52 +02:00
AUTOMAKE_OPTIONS = 1.8 dist-bzip2 foreign nostdinc no-dist-gzip
SUBDIRS = $(auxdir) html src src/include
2011-04-27 21:50:52 +02:00
EXTRA_DIST = AUTHORS COPYING ChangeLog VERSION distromatic.conf
install-data-local:
$(mkdir_p) $(DESTDIR)$(sysconfdir)
$(INSTALL_DATA) $(srcdir)/distromatic.conf $(DESTDIR)${sysconfdir}/distromatic.conf
dist-rpm: dist-bzip2
@rpm_sourcedir=`rpm --eval=%{_sourcedir} 2>/dev/null`;\
[ -d "$$rpm_sourcedir" ] || \
{ echo "directory not found: $$rpm_sourcedir" 1>&2; exit 1; };\
mv -f $(distdir).tar.bz2 $$rpm_sourcedir || exit 1; \
echo "Created tarball \`$$rpm_sourcedir/$(distdir).tar.bz2'."