File: Makefile.am

package info (click to toggle)
phasex 0.14.97-4
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 12,480 kB
  • sloc: ansic: 27,210; sh: 8,278; makefile: 386; perl: 201
file content (41 lines) | stat: -rw-r--r-- 918 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
## Process this file with automake to produce Makefile.in

scriptsdir = $(pkgdatadir)

nodist_scripts_DATA = \
	compile \
	depcomp \
	install-sh \
	missing \
	version-sh

version_sh = version-sh

version-sh:
	@echo '#!/bin/sh' > ${version_sh}; \
	echo '' >> ${version_sh}; \
	echo 'umask 133' >> ${version_sh}; \
	echo 'version_string=`git describe --tags`;' >> ${version_sh}; \
	echo 'if [ -n "${version_string}" ]; then' >> ${version_sh}; \
	echo '	echo "${version_string}" > phasex-version' >> ${version_sh}; \
	echo 'else' >> ${version_sh}; \
	echo '	version_string=`cat phasex-version`' >> ${version_sh}; \
	echo 'fi' >> ${version_sh}; \
	echo 'perl -pi -e "s/^PHASEX-.*:\$/PHASEX-\${version_string}:/g" README' >> ${version_sh}; \
	echo 'echo "${version_string}"' >> ${version_sh}; \
	chmod 755 ${version_sh}


install-data-local:


uninstall-hook:


clean-local:


distclean-local:
	rm -f version-sh
	rm -f *~