2007-01-07 11:15:15 -08:00
|
|
|
AUTOMAKE_OPTIONS = foreign
|
|
|
|
|
2009-01-31 03:13:31 -08:00
|
|
|
ACLOCAL_AMFLAGS = -I m4
|
|
|
|
|
|
|
|
MAINTAINERCLEANFILES = aclocal.m4 config.* compile configure depcomp \
|
2007-02-24 10:33:51 -08:00
|
|
|
install-sh ltmain.sh missing mkinstalldirs \
|
|
|
|
Makefile.in */Makefile.in */*/Makefile.in \
|
2018-08-11 21:46:51 -07:00
|
|
|
ABOUT-NLS \
|
2007-02-24 10:33:51 -08:00
|
|
|
po/Makefile.in.in po/Makevars.template po/Rules-quot \
|
|
|
|
po/*.header po/*.sed po/*.sin po/e16.pot \
|
2007-03-25 02:33:36 -07:00
|
|
|
*~ */*~
|
2007-02-24 10:33:51 -08:00
|
|
|
|
2021-04-12 02:57:11 -07:00
|
|
|
CLEANFILES = $(PACKAGE).spec version.h
|
2020-03-07 01:36:12 -08:00
|
|
|
|
2018-03-03 10:25:53 -08:00
|
|
|
BUILT_SOURCES = version.h
|
|
|
|
|
2010-03-20 03:30:17 -07:00
|
|
|
SUBDIRS = dox eesh epp src lib config themes fonts scripts misc docs icons pix po
|
1999-08-17 15:56:46 -07:00
|
|
|
|
2003-03-23 19:48:09 -08:00
|
|
|
EXTRA_DIST = \
|
2018-03-03 10:25:53 -08:00
|
|
|
$(PACKAGE).spec.in version.h \
|
1999-10-05 15:02:10 -07:00
|
|
|
sample-scripts/bouncingball.pl \
|
|
|
|
sample-scripts/lcdmover.sh \
|
|
|
|
sample-scripts/testroller.pl \
|
1999-10-08 15:55:26 -07:00
|
|
|
sample-scripts/shade-pagers.pl \
|
2012-11-11 10:13:14 -08:00
|
|
|
sample-scripts/place-pagers.pl \
|
2009-04-18 12:05:34 -07:00
|
|
|
AUTHORS COMPLIANCE COPYING ChangeLog
|
2020-03-07 01:36:12 -08:00
|
|
|
|
2018-03-03 10:25:53 -08:00
|
|
|
version.h: FORCE
|
2022-10-21 23:12:46 -07:00
|
|
|
@if [ -f $(top_srcdir)/.git-src -a -z "$(release)" ]; then \
|
|
|
|
echo '#define E16_VERSION "'`git describe --dirty`'"' > $@.tmp; \
|
|
|
|
else \
|
|
|
|
echo '#define E16_VERSION "@VERSION@"' > $@.tmp; \
|
|
|
|
fi
|
2018-03-03 10:25:53 -08:00
|
|
|
@if cmp -s $@.tmp $@; then rm $@.tmp; else mv $@.tmp $@; fi
|
|
|
|
|
2020-03-07 01:36:12 -08:00
|
|
|
dist-hook: $(top_builddir)/$(PACKAGE).spec
|
|
|
|
|
2022-10-21 23:12:46 -07:00
|
|
|
RPR_DEV = `echo -n "1.%(date '+%y%m%d').git"; git rev-parse --short=8 HEAD`
|
|
|
|
RPR_REL = 1
|
|
|
|
SED_DEV = "s/\@PACKAGE\@/@PACKAGE@/;s/\@VERSION\@/@VERSION@/;s/\@RPM_RELEASE\@/$(RPR_DEV)/"
|
|
|
|
SED_REL = "s/\@PACKAGE\@/@PACKAGE@/;s/\@VERSION\@/@VERSION@/;s/\@RPM_RELEASE\@/$(RPR_REL)/"
|
|
|
|
|
2020-03-07 01:36:12 -08:00
|
|
|
$(top_builddir)/$(PACKAGE).spec: FORCE
|
2022-10-21 23:12:46 -07:00
|
|
|
@if [ -f $(top_srcdir)/.git-src -a -z "$(release)" ]; then \
|
|
|
|
sed $(SED_DEV) $(top_srcdir)/$(PACKAGE).spec.in > $@; \
|
|
|
|
else \
|
|
|
|
sed $(SED_REL) $(top_srcdir)/$(PACKAGE).spec.in > $@; \
|
|
|
|
fi
|
|
|
|
|
|
|
|
.PHONY: release
|
|
|
|
release:
|
|
|
|
$(MAKE) dist release=y
|
2020-03-07 01:36:12 -08:00
|
|
|
|
|
|
|
FORCE:
|