File tree Expand file tree Collapse file tree 2 files changed +6
-7
lines changed Expand file tree Collapse file tree 2 files changed +6
-7
lines changed Original file line number Diff line number Diff line change 1
1
SUBDIRS = iptables pylib
2
2
3
- ksrcdir = $(prefix ) /src
3
+ ksrcdir = $(prefix ) /src/kzorp- $( PACKAGE_VERSION )
4
4
5
- ksrctestdir = $(prefix ) /src /tests
5
+ ksrctestdir = $(ksrcdir ) /tests
6
6
7
- ksrcpytestdir = $(prefix ) /src /tests/pytests
7
+ ksrcpytestdir = $(ksrcdir ) /tests/pytests
8
8
9
- ksrcincdir = $(prefix ) /src /include
9
+ ksrcincdir = $(ksrcdir ) /include
10
10
11
11
ksrc_DATA = kernel-module/dkms.conf\
12
12
kernel-module/kzorp_core.c\
Original file line number Diff line number Diff line change 1
- AC_INIT ( [ kzorp-iptables] , [ 0 ] )
1
+ AC_INIT ( [ kzorp-iptables] , m4_esyscmd ( [ tr -d '\n' <VERSION ] ) )
2
2
AC_CONFIG_AUX_DIR ( [ build-aux] )
3
3
AC_CONFIG_HEADERS ( [ config.h] )
4
4
AC_CONFIG_MACRO_DIR ( [ m4] )
5
5
AM_INIT_AUTOMAKE ( [ -Wall foreign subdir-objects] )
6
6
AM_SILENT_RULES ([ yes] )
7
7
m4_ifdef ( [ AM_PROG_AR] , [ AM_PROG_AR] )
8
8
9
- VERSION=`cat $srcdir/VERSION`
10
9
11
10
AC_PROG_INSTALL
12
11
AC_PROG_CC
@@ -36,7 +35,7 @@ regular_CFLAGS="$CFLAGS -Wall -Waggregate-return -Wmissing-declarations \
36
35
AC_SUBST ( [ regular_CPPFLAGS] )
37
36
AC_SUBST ( [ regular_CFLAGS] )
38
37
AC_SUBST ( [ xtlibdir] )
39
- AC_SUBST ( [ VERSION ] )
38
+ AC_SUBST ( [ PACKAGE_VERSION ] )
40
39
AC_CONFIG_FILES ( [ Makefile
41
40
iptables/Makefile
42
41
pylib/Makefile
You can’t perform that action at this time.
0 commit comments