This website works better with JavaScript.
Home
Explore
Help
Sign In
jmg
/
ggate
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
2
Wiki
Activity
Browse Source
install to PREFIX if defined, make tests dir before install..
This gets things working sanely for packaging...
tags/ggatessh-v1.0.0
John-Mark Gurney
4 years ago
parent
349b114752
commit
1a12d7a97c
2 changed files
with
12 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+7
-0
Makefile.inc
+5
-1
tests/Makefile
+ 7
- 0
Makefile.inc
View File
@@ -1,4 +1,11 @@
# This is to replicate the other parts of the FreeBSD build infrastructure.
.if defined(PREFIX)
BINDIR?= ${PREFIX}/sbin
SHAREDIR?= ${PREFIX}/share
TESTSBASE?= ${PREFIX}/tests
.else
BINDIR?= /sbin
.endif
WARNS?= 6
+ 5
- 1
tests/Makefile
View File
@@ -2,8 +2,12 @@
PACKAGE= tests
TESTSDIR= ${TESTSBASE}/sys/geom/class/gate
TESTSDIR= ${TESTSBASE}/sbin/ggatessh
DIRS+= ${TESTSDIR}
ATF_TESTS_SH+= ggatessh_test
# make sure dirs are created
beforeinstall: installdirs
.include <bsd.test.mk>
Write
Preview
Loading…
Cancel
Save