diff --git a/Makefile.am b/Makefile.am index dbdfa97..3ea4a69 100644 --- a/Makefile.am +++ b/Makefile.am @@ -79,7 +79,8 @@ man_MANS = iptables.8 iptables-restore.8 iptables-save.8 \ ip6tables-save.8 CLEANFILES = iptables.8 ip6tables.8 if ENABLE_DEVEL -include_HEADERS = include/xtables.h +SUBDIRS += include +#nobase_include_HEADERS = include/xtables.h include/libiptc/libiptc.h endif if ENABLE_STATIC diff --git a/configure.ac b/configure.ac index 888ba42..96a2c8d 100644 --- a/configure.ac +++ b/configure.ac @@ -78,6 +78,6 @@ AC_SUBST([libxtables_vage]) libxtables_vmajor=$(($libxtables_vcurrent - $libxtables_vage)); AC_SUBST([libxtables_vmajor]) -AC_CONFIG_FILES([Makefile extensions/GNUmakefile libipq/Makefile +AC_CONFIG_FILES([Makefile extensions/GNUmakefile include/Makefile libipq/Makefile include/xtables.h include/iptables/internal.h xtables.pc]) AC_OUTPUT diff --git a/include/Makefile.am b/include/Makefile.am new file mode 100644 index 0000000..7564466 --- /dev/null +++ b/include/Makefile.am @@ -0,0 +1 @@ +nobase_include_HEADERS = xtables.h libiptc/libiptc.h