projects
/
clawsker.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
17df8ab
)
Make DATADIR available to code
author
Ricardo Mones
<ricardo@mones.org>
Fri, 5 Aug 2016 14:28:15 +0000
(16:28 +0200)
committer
Ricardo Mones
<ricardo@mones.org>
Fri, 5 Aug 2016 15:28:29 +0000
(17:28 +0200)
Makefile
patch
|
blob
|
history
clawsker
patch
|
blob
|
history
diff --git
a/Makefile
b/Makefile
index 787ca93e7c3a4b6b1a9bd123b5ec341fda2015dc..93d96e8f7f88cdecbce0a11c549e171c5813bc0f 100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-23,7
+23,7
@@
all: build
build:
-mkdir build
- sed -e "s,@PREFIX@,${PREFIX},;s,@LIBDIR@,${LIBDIR},;s,@VERSION@,${VERSION}," < ${NAME} > build/${NAME}
+ sed -e "s,@PREFIX@,${PREFIX},;s,@LIBDIR@,${LIBDIR},;s,@VERSION@,${VERSION},
;s,@DATADIR@,${DATADIR},
" < ${NAME} > build/${NAME}
pod2man --release ${VERSION} -c '' ${NAME}.pod > build/${NAME}.1
${MAKE} -C po build
diff --git
a/clawsker
b/clawsker
index 5466d16d901c8482c4771a82444c6b713124daf2..c29e7cfa420d2891147ee81f762cc25a2589d00a 100755
(executable)
--- a/
clawsker
+++ b/
clawsker
@@
-27,6
+27,7
@@
use Getopt::Long;
my $NAME = 'clawsker';
my $PREFIX = '@PREFIX@';
my $LIBDIR = '@LIBDIR@';
+my $DATADIR = '@DATADIR@';
my $VERSION = '@VERSION@';
my $VERBOSE = FALSE;
my $CLAWSV = undef;