summaryrefslogtreecommitdiff
path: root/Makefile.am
blob: 824dcefa6a56732cd9a5f7579a3b74718ca63697 (plain)
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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
# Copyright (C) 2012-2014 Assaf Gordon <assafgordon@gmail.com>
#
# This file is free software; as a special exception the author gives
# unlimited permission to copy and/or distribute it, with or without
# modifications, as long as this notice is preserved.
#
# This program is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY, to the extent permitted by law; without even the
# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

EXTRA_DIST = $(top_srcdir)/.version \
	     bootstrap \
	     gordon_bin_scripts.rb

BUILT_SOURCES = $(top_srcdir)/.version

bin_SCRIPTS = \
	scripts/auto-build-install \
	scripts/atexpand \
	scripts/atless \
	scripts/create-ssha-passwd \
	scripts/detect_tab_stops \
	scripts/dict \
	scripts/dudirs \
	scripts/easyjoin \
	scripts/filetype_size_breakdown \
	scripts/list_columns \
	scripts/make_balloon \
	scripts/multijoin \
	scripts/nfs_iostat \
	scripts/ppsx \
	scripts/pss \
	scripts/run-with-log \
	scripts/setup-bind-mount-chroot \
	scripts/sort-header \
	scripts/sum_file_sizes \
	scripts/sumcol \
	scripts/tawk \
	scripts/tardir \
	scripts/tuniq \
	scripts/xtime \
	scripts/xxcat

## During installation, create symlinks
## from 'ppsx' to 'psx' and 'rsx'.
install-exec-hook:
	cd $(DESTDIR)$(bindir) && \
	  $(LN_S) -f ppsx psx && \
	  $(LN_S) -f ppsx rsx

$(top_srcdir)/.version:
	            echo $(VERSION) > $@-t && mv $@-t $@

dist-hook:
	            echo $(VERSION) > $(distdir)/.tarball-version