1999-10-13 10:39:37 -07:00
|
|
|
AUTOMAKE_OPTIONS = foreign
|
|
|
|
|
2013-01-13 05:09:58 -08:00
|
|
|
ACLOCAL_AMFLAGS = -I m4
|
|
|
|
|
2014-02-16 01:34:45 -08:00
|
|
|
MAINTAINERCLEANFILES = \
|
|
|
|
Makefile.in aclocal.m4 compile config.* configure depcomp \
|
2016-08-18 23:05:53 -07:00
|
|
|
install-sh ltmain.sh missing */Makefile.in
|
2008-08-23 10:47:10 -07:00
|
|
|
|
2022-03-09 23:26:05 -08:00
|
|
|
CLEANFILES = $(PACKAGE).spec
|
|
|
|
|
2023-12-09 11:57:16 -08:00
|
|
|
EXTRA_DIST = $(PACKAGE).spec.in
|
|
|
|
|
|
|
|
SUBDIRS = api epplets
|
2022-03-09 23:26:05 -08:00
|
|
|
|
|
|
|
dist-hook: $(top_builddir)/$(PACKAGE).spec
|
|
|
|
|
2024-05-11 11:22:06 -07:00
|
|
|
RPR_DEV = `echo -n "99.%(date '+%y%m%d').git"; git rev-parse --short=8 HEAD`
|
2023-12-09 11:57:16 -08:00
|
|
|
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)/"
|
|
|
|
|
2022-03-09 23:26:05 -08:00
|
|
|
$(top_builddir)/$(PACKAGE).spec: FORCE
|
2023-12-09 11:57:16 -08: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
|
2022-03-09 23:26:05 -08:00
|
|
|
|
|
|
|
FORCE:
|