Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Added the cmd_opts.h file to server and client's Makefile.am so they …

…are included with make dist.
  • Loading branch information...
commit e07ccdd5508c488a818790c16728ebdc13be284c 1 parent 0b8c489
@damienstuart damienstuart authored
Showing with 5 additions and 3 deletions.
  1. +1 −1  client/Makefile.am
  2. +3 −1 fwknop.spec
  3. +1 −1  server/Makefile.am
View
2  client/Makefile.am
@@ -2,7 +2,7 @@ bin_PROGRAMS = fwknop
fwknop_SOURCES = fwknop.c fwknop.h config_init.c config_init.h \
fwknop_common.h spa_comm.c spa_comm.h utils.c utils.h \
- http_resolve_host.c getpasswd.c getpasswd.h
+ http_resolve_host.c getpasswd.c getpasswd.h cmd_opts.h
fwknop_CPPFLAGS = -I $(top_srcdir)/lib -I $(top_srcdir)/common
View
4 fwknop.spec
@@ -91,8 +91,10 @@ rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT
install -D ./extras/fwknop.init.redhat ${RPM_BUILD_ROOT}/etc/rc.d/init.d/fwknopd
# Just in case...
-[ ! -d "${RPM_BUILD_ROOT}/usr/share/info" ] \
+[ -d "${RPM_BUILD_ROOT}/usr/share/info" ] \
|| mkdir -p ${RPM_BUILD_ROOT}/usr/share/info
+[ -f "${RPM_BUILD_ROOT}/usr/share/info/dir" ] \
+ || touch ${RPM_BUILD_ROOT}/usr/share/info/dir
%clean
rm -rf $RPM_BUILD_ROOT
View
2  server/Makefile.am
@@ -10,7 +10,7 @@ fwknopd_SOURCES = fwknopd.c fwknopd.h config_init.c config_init.h \
fw_util.c fw_util.h fw_util_ipf.c fw_util_ipf.h \
fw_util_iptables.c fw_util_iptables.h \
fw_util_ipfw.c fw_util_ipfw.h \
- fw_util_pf.c fw_util_pf.h
+ fw_util_pf.c fw_util_pf.h cmd_opts.h
fwknopd_LDADD = $(top_builddir)/lib/libfko.la -lpcap
Please sign in to comment.
Something went wrong with that request. Please try again.