diff options
author | Rob Austein <sra@hactrn.net> | 2011-04-18 20:12:21 +0000 |
---|---|---|
committer | Rob Austein <sra@hactrn.net> | 2011-04-18 20:12:21 +0000 |
commit | 1d80d436b55701c3e3066d7f28e567da8dad82bb (patch) | |
tree | bb41abaf18ad8be2e8e2ef1b1304c43a68d149bc | |
parent | 4ab906ea1c8710bc23d2b32eb748468e73cfa0a5 (diff) |
Basic install target for rpki-rtr code
svn path=/configure; revision=3776
-rwxr-xr-x | configure | 8 | ||||
-rw-r--r-- | configure.ac | 6 | ||||
-rw-r--r-- | rtr-origin/Makefile.in | 41 |
3 files changed, 55 insertions, 0 deletions
@@ -4190,6 +4190,7 @@ test $build_openssl = yes && TOP_LEVEL_SUBDIRS="$TOP_LEVEL_SUBDIRS openssl" TOP_LEVEL_SUBDIRS="$TOP_LEVEL_SUBDIRS rcynic utils" test $build_pywrap = yes && TOP_LEVEL_SUBDIRS="$TOP_LEVEL_SUBDIRS pywrap" test $build_python = yes && TOP_LEVEL_SUBDIRS="$TOP_LEVEL_SUBDIRS rpkid" +test $have_python = yes && TOP_LEVEL_SUBDIRS="$TOP_LEVEL_SUBDIRS rtr-origin" @@ -4355,6 +4356,12 @@ done fi +if test $have_python = yes +then + ac_config_files="$ac_config_files rtr-origin/Makefile" + +fi + # This should go away once its content has migrated from Doxygen into DocBook. ac_config_files="$ac_config_files rpkid/rpki/__doc__.py" @@ -5094,6 +5101,7 @@ do "rpkid/Makefile") CONFIG_FILES="$CONFIG_FILES rpkid/Makefile" ;; "rpkid/tests/Makefile") CONFIG_FILES="$CONFIG_FILES rpkid/tests/Makefile" ;; "rpkid/portal-gui/Makefile") CONFIG_FILES="$CONFIG_FILES rpkid/portal-gui/Makefile" ;; + "rtr-origin/Makefile") CONFIG_FILES="$CONFIG_FILES rtr-origin/Makefile" ;; "rpkid/rpki/__doc__.py") CONFIG_FILES="$CONFIG_FILES rpkid/rpki/__doc__.py" ;; *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; diff --git a/configure.ac b/configure.ac index b1112578..4a88fbe5 100644 --- a/configure.ac +++ b/configure.ac @@ -244,6 +244,7 @@ test $build_openssl = yes && TOP_LEVEL_SUBDIRS="$TOP_LEVEL_SUBDIRS openssl" TOP_LEVEL_SUBDIRS="$TOP_LEVEL_SUBDIRS rcynic utils" test $build_pywrap = yes && TOP_LEVEL_SUBDIRS="$TOP_LEVEL_SUBDIRS pywrap" test $build_python = yes && TOP_LEVEL_SUBDIRS="$TOP_LEVEL_SUBDIRS rpkid" +test $have_python = yes && TOP_LEVEL_SUBDIRS="$TOP_LEVEL_SUBDIRS rtr-origin" AC_SUBST(TOP_LEVEL_SUBDIRS) @@ -362,6 +363,11 @@ then AC_CONFIG_FILES([rpkid/portal-gui/Makefile]) fi +if test $have_python = yes +then + AC_CONFIG_FILES([rtr-origin/Makefile]) +fi + # This should go away once its content has migrated from Doxygen into DocBook. AC_CONFIG_FILES([rpkid/rpki/__doc__.py]) diff --git a/rtr-origin/Makefile.in b/rtr-origin/Makefile.in new file mode 100644 index 00000000..57f1637d --- /dev/null +++ b/rtr-origin/Makefile.in @@ -0,0 +1,41 @@ +# $Id$ + +BASE = rtr-origin +SRC = ${BASE}.py +BIN = ${BASE} + +INSTALL = @INSTALL@ -m 555 +PYTHON = @PYTHON@ + +prefix = @prefix@ +exec_prefix = @exec_prefix@ +datarootdir = @datarootdir@ +datadir = @datadir@ +localstatedir = @localstatedir@ +sharedstatedir = @sharedstatedir@ +sysconfdir = @sysconfdir@ +bindir = @bindir@ +sbindir = @sbindir@ +libexecdir = @libexecdir@ +libdir = @libdir@ + +abs_top_srcdir = @abs_top_srcdir@ +abs_top_builddir = @abs_top_builddir@ + +all: ${BIN} + +clean: + rm -f ${BIN} + +install: all + ${INSTALL} ${BIN} ${bindir}/${BIN} + +deinstall uninstall: + rm -f ${bindir}/${BIN} + +distclean: clean + rm -f Makefile + +${BIN} : ${SRC} + echo >$@ '#!${PYTHON}' + cat >>$@ ${SRC} |