]> git.ipfire.org Git - thirdparty/FORT-validator.git/commitdiff
Improve the autotools config
authorAlberto Leiva Popper <ydahhrk@gmail.com>
Thu, 23 Aug 2018 22:38:53 +0000 (17:38 -0500)
committerAlberto Leiva Popper <ydahhrk@gmail.com>
Thu, 23 Aug 2018 22:52:16 +0000 (17:52 -0500)
The idea is to make it debian-packaging friendly.
It should work out of the box if appended a minimalistic debian
directory now.

.gitignore
COPYING [moved from LICENSE with 100% similarity]
Makefile.am
configure.ac
src/Makefile.am

index 869af9347d23a5ef5a477f07a1b0022cd0451134..bbe7ecf71b683214b0d87bc3ebda7ed7701d1876 100644 (file)
@@ -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
index ea46ff160bd2a0a3fbd5621f39d88a57511d7f38..c791e70b92e10ef006c7833415dbdc70137efbcd 100644 (file)
@@ -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.
index 7be1646cba7b1c33fc29c7d3d01d3e0c363113ce..01b627e3e04364737ab1eae2ae2d2890b6c0d0ed 100644 (file)
@@ -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])
 
index 770af6beda3cb621abac9a20784156c31c0a792c..605167896a08c9c0c65a0b8d6416c3ac986a20b4 100644 (file)
@@ -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