From: Alberto Leiva Popper Date: Thu, 23 Aug 2018 22:38:53 +0000 (-0500) Subject: Improve the autotools config X-Git-Tag: v0.0.2~52^2~73 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e57470f45545baae8ce3af9446b33bb6caa82c3d;p=thirdparty%2FFORT-validator.git Improve the autotools config The idea is to make it debian-packaging friendly. It should work out of the box if appended a minimalistic debian directory now. --- diff --git a/.gitignore b/.gitignore index 869af934..bbe7ecf7 100644 --- a/.gitignore +++ b/.gitignore @@ -35,7 +35,7 @@ *.i*86 *.x86_64 *.hex -src/rtr_server +rtr_server # Debug files *.dSYM/ @@ -61,9 +61,7 @@ dkms.conf .settings/ Debug/ -# Autoconf -# autoconf files -###################### +# Autotools *.in *.m4 .deps @@ -76,3 +74,22 @@ configure depcomp install-sh missing + +# Packaging +*.7z +*.dmg +*.gz +*.iso +*.jar +*.rar +*.tar +*.zip + +# Temporal files +*~ + +# Unwanted manure shat by imbecile OSs +.DS_Store* +ehthumbs.db +Icon? +Thumbs.db diff --git a/LICENSE b/COPYING similarity index 100% rename from LICENSE rename to COPYING diff --git a/Makefile.am b/Makefile.am index ea46ff16..c791e70b 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,13 +1,11 @@ # GNU wants us to include some files that we really don't want; therefore -# foreign. The files are +# "foreign". The files are # # - AUTHORS: This should be inferred from the (automatic) git history, not some # error prone, manually-maintained file! # - ChangeLog: This is included in the main page of the site, which can be found # in the gh-pages branch. Don't want to (nor should I) repeat myself. -# - COPYING: WTF man. Why "copying". "LICENSE", man. It's supposed to be called -# "LICENSE". -# - NEWS: Same as ChangeLog. (See above.) +# - NEWS: Same as ChangeLog. # - README: We prefer the much gayer "README.md" version, so no thanks. # # Man, GNU conventions need a 21 century overhaul badly. diff --git a/configure.ac b/configure.ac index 7be1646c..01b627e3 100644 --- a/configure.ac +++ b/configure.ac @@ -3,7 +3,7 @@ AC_PREREQ([2.69]) # TODO change the bug report address -AC_INIT([rtr_server], [0.0.1], [ydahhrk@gmail.com]) +AC_INIT([rtr-server], [0.0.1], [ydahhrk@gmail.com]) AC_CONFIG_SRCDIR([src/main.c]) AM_INIT_AUTOMAKE([subdir-objects]) diff --git a/src/Makefile.am b/src/Makefile.am index 770af6be..60516789 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -4,7 +4,12 @@ AM_LDFLAGS = bin_PROGRAMS = rtr_server rtr_server_SOURCES = main.c +rtr_server_SOURCES += common.h rtr_server_SOURCES += rtr/pdu.c +rtr_server_SOURCES += rtr/pdu.h rtr_server_SOURCES += rtr/pdu_handler.c +rtr_server_SOURCES += rtr/pdu_handler.h rtr_server_SOURCES += rtr/primitive_reader.c +rtr_server_SOURCES += rtr/primitive_reader.h rtr_server_SOURCES += rtr/rtr.c +rtr_server_SOURCES += rtr/rtr.h