-
Notifications
You must be signed in to change notification settings - Fork 1
/
Makefile.am
85 lines (75 loc) · 2.49 KB
/
Makefile.am
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
SUBDIRS = lib intl src po man testsuite
EXTRA_DIST = check.lrzsz COMPATABILITY README.cvs README.isdn4linux \
README.gettext rpmrc buildrpm systype.in fastcheck.sh README.tests \
beos-runpiped.c fastcheck.beos
noinst_SCRIPTS=systype
PR=@PACKAGE@-@VERSION@
CLEAN_FILES=fastcheck.done
dist-hook:
mkdir $(distdir)/debian
cp -fa $(srcdir)/debian/changelog $(distdir)/debian/
cp -fa $(srcdir)/debian/control $(distdir)/debian/
cp -fa $(srcdir)/debian/copyright $(distdir)/debian/
cp -fa $(srcdir)/debian/rules.in $(distdir)/debian/
oldcheck-local:
QUIET=-q $(srcdir)/check.lrzsz $(srcdir) `pwd`
fastcheck:
if [ x`uname -s` = xBeOS ] ; then make fastcheck-beos ; else \
$(srcdir)/fastcheck.sh $(srcdir) `pwd` ; fi
fastcheck-beos: beos-runpiped
$(srcdir)/fastcheck.beos $(srcdir) `pwd`
beos-runpiped: beos-runpiped.c
$(CC) -o $@ $<
success: fastcheck
sh systype | mail [email protected]
vcheck:
$(srcdir)/check.lrzsz $(srcdir) `pwd`
vcheck-%:
$(srcdir)/check.lrzsz $(srcdir) `pwd` $(subst vcheck-,,$@)
check-%:
QUIET=-q $(srcdir)/check.lrzsz $(srcdir) `pwd` $(subst check-,,$@)
vcheck-x:
$(srcdir)/check.lrzsz $(srcdir) `pwd` x
vcheck-y:
$(srcdir)/check.lrzsz $(srcdir) `pwd` y
vcheck-z:
$(srcdir)/check.lrzsz $(srcdir) `pwd` z
vcheck-z8:
$(srcdir)/check.lrzsz $(srcdir) `pwd` z8
vcheck-sz-r:
$(srcdir)/check.lrzsz $(srcdir) `pwd` sz-r
vcheck-rz-r:
$(srcdir)/check.lrzsz $(srcdir) `pwd` rz-r
vcheck-turbo:
$(srcdir)/check.lrzsz $(srcdir) `pwd` turbo
vcheck-error:
$(srcdir)/check.lrzsz $(srcdir) `pwd` error
vcheck-manag vcheck-manage:
$(srcdir)/check.lrzsz $(srcdir) `pwd` manage
vcheck-zm-rz:
$(srcdir)/check.lrzsz $(srcdir) `pwd` zm-rz
vcheck-zm-sz:
$(srcdir)/check.lrzsz $(srcdir) `pwd` zm-sz
vcheck-orig-rz:
$(srcdir)/check.lrzsz $(srcdir) `pwd` orig-rz
vcheck-orig-sz:
$(srcdir)/check.lrzsz $(srcdir) `pwd` orig-sz
vcheck-orig-kombi:
$(srcdir)/check.lrzsz $(srcdir) `pwd` orig-kombi
vcheck-abuse:
$(srcdir)/check.lrzsz $(srcdir) `pwd` abuse
vcheck-startup:
$(srcdir)/check.lrzsz $(srcdir) `pwd` startup
vcheck-tmp:
$(srcdir)/check.lrzsz $(srcdir) `pwd` tmp
# Tag before making distribution. Also, don't make a distribution if
# checks fail. Also, make sure the NEWS file is up-to-date.
cvs-dist:
@if sed 1q NEWS | grep -e "$(VERSION)" > /dev/null; then :; else \
echo "NEWS not updated; not releasing" 1>&2; \
exit 1; \
fi
cvs tag `echo "Release-$(VERSION)" | sed 's/\./-/g'`
$(MAKE) dist
rpm: $(PR).tar.gz Specfile
$(srcdir)/buildrpm $(srcdir)