legacy-imlib2/Makefile.am

36 lines
888 B
Makefile
Raw Normal View History

AUTOMAKE_OPTIONS = foreign
2013-07-01 21:57:19 -07:00
ACLOCAL_AMFLAGS = -I m4
SUBDIRS = src data doc
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
2005-03-04 04:22:33 -08:00
EXTRA_DIST = AUTHORS COPYING COPYING-PLAIN gendoc \
Doxyfile \
README.in README \
$(PACKAGE).pc.in \
$(PACKAGE).spec.in
pkgconfigdir = $(libdir)/pkgconfig
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: