2008-10-22 11:22:30 -07:00
|
|
|
AUTOMAKE_OPTIONS = foreign
|
2004-11-01 01:45:31 -08:00
|
|
|
|
2013-07-01 21:57:19 -07:00
|
|
|
ACLOCAL_AMFLAGS = -I m4
|
|
|
|
|
2005-03-03 06:28:52 -08:00
|
|
|
SUBDIRS = src data doc
|
2004-11-01 01:45:31 -08:00
|
|
|
|
2019-10-13 12:30:09 -07:00
|
|
|
CLEANFILES = $(PACKAGE).spec
|
|
|
|
|
2015-11-01 06:17:56 -08:00
|
|
|
MAINTAINERCLEANFILES = aclocal.m4 compile \
|
|
|
|
config.guess config.h.in config.sub configure \
|
|
|
|
depcomp install-sh ltmain.sh missing Makefile.in \
|
|
|
|
imlib2_docs.tar.gz
|
2004-11-01 01:45:31 -08:00
|
|
|
|
2005-03-04 04:22:33 -08:00
|
|
|
EXTRA_DIST = AUTHORS COPYING COPYING-PLAIN gendoc \
|
2005-03-03 06:28:52 -08:00
|
|
|
Doxyfile \
|
|
|
|
README.in README \
|
2019-10-13 12:30:09 -07:00
|
|
|
$(PACKAGE).pc.in \
|
|
|
|
$(PACKAGE).spec.in
|
2004-11-01 01:45:31 -08:00
|
|
|
|
|
|
|
pkgconfigdir = $(libdir)/pkgconfig
|
2019-10-13 12:30:09 -07:00
|
|
|
pkgconfig_DATA = $(PACKAGE).pc
|
|
|
|
|
|
|
|
if SRC_IS_GIT
|
|
|
|
RPM_RELEASE=`echo -n "1.%(date '+%y%m%d').git"; git rev-parse --short=8 HEAD`
|
|
|
|
else
|
|
|
|
RPM_RELEASE=`echo -n "1.%(date '+%y%m%d')"`
|
|
|
|
endif
|
|
|
|
|
|
|
|
dist-hook: $(top_builddir)/$(PACKAGE).spec
|
|
|
|
|
|
|
|
$(top_builddir)/$(PACKAGE).spec: FORCE
|
|
|
|
sed "s/\@PACKAGE\@/@PACKAGE@/;s/\@VERSION\@/@VERSION@/;s/\@RPM_RELEASE\@/$(RPM_RELEASE)/" \
|
|
|
|
$(top_srcdir)/$(PACKAGE).spec.in > $@
|
|
|
|
|
|
|
|
FORCE:
|