From: Nick Bowler Date: Thu, 27 Jul 2023 02:28:54 +0000 (-0400) Subject: Import bootstrap script etc. X-Git-Tag: v1~10 X-Git-Url: http://git.draconx.ca/gitweb/rarpd-dx.git/commitdiff_plain/881d12f60790a6582b1e148c7b7ed13689b43f47 Import bootstrap script etc. --- diff --git a/.gitignore b/.gitignore index b5eaac7..4eb51ed 100644 --- a/.gitignore +++ b/.gitignore @@ -1,6 +1,7 @@ *.o .deps .dirstamp +/INSTALL /aclocal.m4 /autom4te.cache /compile diff --git a/COPYING.WTFPL2 b/COPYING.WTFPL2 new file mode 100644 index 0000000..d23841b --- /dev/null +++ b/COPYING.WTFPL2 @@ -0,0 +1,13 @@ + DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE + Version 2, December 2004 + + Copyright (C) 2004 Sam Hocevar + 22 rue de Plaisance, 75014 Paris, France + Everyone is permitted to copy and distribute verbatim or modified + copies of this license document, and changing it is allowed as long + as the name is changed. + + DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE + TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION + + 0. You just DO WHAT THE FUCK YOU WANT TO. diff --git a/Makefile.am b/Makefile.am index 1367d07..e5f558f 100644 --- a/Makefile.am +++ b/Makefile.am @@ -8,6 +8,8 @@ ACLOCAL_AMFLAGS = -I m4 AM_CPPFLAGS = -DIPUTILS_VERSION='PACKAGE_STRING,' +EXTRA_DIST = COPYING COPYING.WTFPL2 INSTALL README.md bootstrap + XSLTPROC_MAN = $(XSLTPROC) -o $@ --nonet \ --stringparam man.output.quietly 1 \ --stringparam funcsynopsis.style ansi \ @@ -32,7 +34,7 @@ endif $(AM_V_GEN) $(XSLTPROC_MAN) $< $(dist_man_MANS): $(srcdir)/doc/custom-man.xsl MAINTAINERCLEANFILES = $(dist_man_MANS) -EXTRA_DIST = $(dist_man_MANS:.8=.xml) $(srcdir)/doc/custom-man.xsl +EXTRA_DIST += $(dist_man_MANS:.8=.xml) $(srcdir)/doc/custom-man.xsl sbin_PROGRAMS = rarpd rarpd_SOURCES = src/rarpd.c src/iputils_common.c src/iputils_common.h diff --git a/bootstrap b/bootstrap new file mode 100755 index 0000000..4aa3cc4 --- /dev/null +++ b/bootstrap @@ -0,0 +1,27 @@ +#!/bin/sh +# +# Copyright © 2011-2012, 2015, 2021-2023 Nick Bowler +# +# Simple script to get started from a fresh git checkout. +# +# License WTFPL2: Do What The Fuck You Want To Public License, version 2. +# This is free software: you are free to do what the fuck you want to. +# There is NO WARRANTY, to the extent permitted by law. + +scriptname=$0 + +err () { printf '%s: %s\n' "$scriptname" "$*" 1>&2; } +die () { err "$@"; exit 1; } + +: ${AUTORECONF=autoreconf} +: ${AUTOMAKE=automake} + +# Punt some automake-generated files so that Gentoo's wrapper script doesn't +# try to detect the automake version in use. +rm -f Makefile.in aclocal.m4 +$AUTORECONF -fis || exit + +amdir=`$AUTOMAKE --print-libdir` +if test -f "$amdir/INSTALL"; then + ln -sf "$amdir/INSTALL" INSTALL +fi