Skip to content

Commit 6a3ffb7

Browse files
committed
Include tests in new package distribution.
1 parent 1a0d93b commit 6a3ffb7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ runstat: runstat.c subprocess.c tempdir.c
2323
CFLAGS+=-Wall -Werror -Wextra -D_XOPEN_SOURCE=500 -g -ansi -pedantic-errors -Wwrite-strings -Wcast-align -Wcast-qual -Winit-self -Wformat=2 -Wuninitialized -Wmissing-declarations -Wpointer-arith -Wstrict-aliasing -fstrict-aliasing
2424
LDLIBS+=-lrt
2525

26-
SOURCES = runalarm.c runlock.c runstat.c subprocess.c subprocess.h tempdir.c tempdir.h Makefile runalarm.1 runlock.1 runstat.1 version examples cronutils.spec runcron
26+
SOURCES = runalarm.c runlock.c runstat.c subprocess.c subprocess.h tempdir.c tempdir.h Makefile runalarm.1 runlock.1 runstat.1 version examples cronutils.spec runcron regtest.sh tests
2727

2828
prefix = usr/local
2929
BINDIR = $(prefix)/bin
@@ -44,7 +44,7 @@ distclean: clean
4444
dist:
4545
rm -rf cronutils-$(VERSION) cronutils-$(VERSION).tar cronutils-$(VERSION).tar.gz
4646
mkdir cronutils-$(VERSION)
47-
cp $(SOURCES) cronutils-$(VERSION)
47+
cp -r $(SOURCES) cronutils-$(VERSION)
4848
tar cf cronutils-$(VERSION).tar cronutils-$(VERSION)
4949
gzip -9 cronutils-$(VERSION).tar
5050
rm -rf cronutils-$(VERSION)

0 commit comments

Comments
 (0)