blob: b33c070195094889d231126d581f2144e026065b (
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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
|
## Process this file with automake to produce Makefile.in
# Makefile for GNU CVS contributed sources.
# Do not use this makefile directly, but only from `../Makefile'.
# Copyright (C) 1986, 1988-1990 Free Software Foundation, Inc.
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2, or (at your option)
# any later version.
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
# DISTFILES = \
# ChangeLog README .cvsignore intro.doc \
# Makefile.in clmerge.pl cln_hist.pl commit_prep.pl cvs2vendor.sh \
# cvs_acls.pl cvscheck.sh cvscheck.man cvshelp.man debug_check_log.sh \
# descend.sh \
# descend.man dirfns.shar log.pl log_accum.pl mfpipe.pl rcs-to-cvs.sh \
# rcs2log.sh rcslock.pl sccs2rcs.csh rcs2sccs.sh
# files installed in $(pkgdatadir)
#
# CONTRIB_FILES = README intro.doc cvscheck.man
contribscriptdir = $(pkglibexecdir)/contrib
contribdatadir = $(pkgdatadir)/contrib
contrib_SCRIPTS = \
clmerge \
cln_hist \
commit_prep \
cvs2vendor \
cvs_acls \
cvscheck \
debug_check_log \
log \
log_accum \
mfpipe \
rcs-to-cvs \
rcs2log \
rcslock \
sccs2rcs
contrib_DATA = \
README \
intro.doc
contrib_MANS = \
cvscheck.man
bin_LINKS = \
rcs2log
EXTRA_DIST = \
.cvsignore \
$(contrib_DATA) \
$(contrib_MANS) \
cvs2vendor.sh \
cvscheck.sh \
cvshelp.man \
debug_check_log.sh \
descend.sh \
descend.man \
dirfns.shar \
rcs-to-cvs.sh \
rcs2log.sh \
rcs2sccs.sh
CLEANFILES = $(bin_SCRIPTS) $(contrib_SCRIPTS)
# we'd rather have a link here rather than two copies of a script
install-data-local:
# FIXME - this path should be determined dynamically from bindir
# & contribdir
@$(NORMAL_INSTALL)
$(mkinstalldirs) $(DESTDIR)$(bindir)
@list='$(bin_LINKS)'; for p in $$list; do \
echo "test ! -e $(DESTDIR)$(bindir)/`echo $$p|sed '$(transform)'`"; \
echo " && cd $(DESTDIR)$(bindir) && $(LN_S) ../share/$(PACKAGE)/contrib/`echo $$p|sed '$(transform)'` ."; \
(test ! -e $(DESTDIR)$(bindir)/`echo $$p|sed '$(transform)'` \
&& cd $(DESTDIR)$(bindir) && $(LN_S) ../share/$(PACKAGE)/contrib/`echo $$p|sed '$(transform)'` .) \
|| (echo "Link creation failed" && if test -f $$p; then \
echo " $(INSTALL_SCRIPT) $$p $(DESTDIR)$(bindir)/`echo $$p|sed '$(transform)'`"; \
$(INSTALL_SCRIPT) $$p $(DESTDIR)$(bindir)/`echo $$p|sed '$(transform)'`; \
else if test -f $(srcdir)/$$p; then \
echo " $(INSTALL_SCRIPT) $(srcdir)/$$p $(DESTDIR)$(bindir)/`echo $$p|sed '$(transform)'`"; \
$(INSTALL_SCRIPT) $(srcdir)/$$p $(DESTDIR)$(bindir)/`echo $$p|sed '$(transform)'`; \
else :; fi; fi); \
done
uninstall-local:
@$(NORMAL_UNINSTALL)
list='$(bin_LINKS)'; for p in $$list; do \
rm -f $(DESTDIR)$(bindir)/`echo $$p|sed '$(transform)'`; \
done
SUFFIXES = .sh
.sh:
rm -f $@
cp $< $@
chmod +x $@
# for backwards compatibility with the old makefiles
realclean: maintainer-clean
.PHONY: realclean
|