File: Makefile.am

package info (click to toggle)
gp2c 0.0.7pl3-1
  • links: PTS
  • area: main
  • in suites: wheezy
  • size: 1,728 kB
  • sloc: ansic: 7,730; sh: 1,420; lex: 336; yacc: 208; makefile: 143
file content (16 lines) | stat: -rw-r--r-- 585 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
pkgdata_DATA = func.dsc
EXTRA_DIST = $(COMPAT_DESC) $(FUNC2X_DSC)
CLEANFILES = func.dsc
COMPILE_DESC = ../scripts/822_desc.pl
PARI_DESC = @PARI_DESC@
FUNC2X_DSC = $(srcdir)/func23.dsc $(srcdir)/func25.dsc
COMPAT_DESC = $(srcdir)/compat.desc
OVERRIDE_DESC = $(srcdir)/override.desc

func.dsc: $(COMPILE_DESC) $(PARI_DESC) $(COMPAT_DESC) $(OVERRIDE_DESC)
	@$(COMPILE_DESC) $(PARI_DESC) $(COMPAT_DESC) $(OVERRIDE_DESC) >func.dsc\
	&& echo "Description recompiled" \
	|| ( cp $(srcdir)/func25.dsc func.dsc && echo "Using PARI 2.5 description" )

$(OVERRIDE_DESC): 
	touch $(OVERRIDE_DESC)