Commit Graph

17 Commits

Author SHA1 Message Date
Jonathan Kamens 29c3eb8f67 Convert build process to use autotools (autoconf, automake, etc.)
This commit converts the build process from a hand-written Makefile
that works on Linux, FreeBSD, and macOS, to an automatically generated
Makefile managed by the autotools toolset.

This incldues:

* Add the compile, config.guess, config.sub, depcomp, install-sh, and
  missing helper scripts that autotools requires to be shipped with
  the package in order for configure to work.
* Rename Makefile to Makefile.am and restructure it for compatibility
  with autotools and specifically with the stuff in our configure
  script.
* Create the configure.ac source file which is turned into the
  configure script.
* Rename Doxyfile to Doxyfile.in so that the source directories can be
  substituted into it at configure time.
* Tweak .gitignore to ignore temporary and output files related to
  autotools.
* Generate Makefile.in, aclocal.m4, and configure using `autoreconf`
  and include them as checked-in source files.

While I can't fully document how autotools works here the basic
workflow is that when you need to make changes to the build, you
update Makefile.am and/or configure.ac as needed, run `autoreconf`,
and commit the changes you made as well as any resulting changes to
Makefile.in, aclocal.m4, and configure. Makefile should _not_ be
committed into the source tree; it should always be generated using
configure on the system where the build is being run.
2023-09-29 23:45:47 +01:00
Fufu Fang a76366c481 improved error handling in path_download 2021-09-01 11:03:27 +01:00
Fufu Fang ff97740dac
updated Makefile for man page generation, updated man page 2021-08-31 15:39:13 +01:00
Fufu Fang 45d8cb8136
changed indentation style 2021-08-31 11:18:39 +01:00
Fufu Fang 15d6da357e
Added .vscode back into .gitignore 2021-08-29 11:23:55 +01:00
Fufu Fang 7c83da7e32
removed .vscode folder from .gitignore 2021-08-29 10:56:36 +01:00
Fufu Fang 5f86703f17
janatorial changes 2021-08-08 15:50:35 +01:00
Fufu Fang 65f91966d5
updated .gitignore 2021-08-05 00:38:08 +01:00
Fufu Fang 765f4e00d0
Updated Makefile, fixed issue #44
- When header files get changed, the relevant object will get recompiled.
2019-09-02 17:56:23 +01:00
Fufu Fang ee397d1513
Data_read() no longer gives warning messages when reaching the end of the cache file. 2019-09-02 16:51:42 +01:00
Fufu Fang f8c9389026 Fixed bug related to the config file parser
Basically, getopt_long does not expect you to call another string array - it
has some internal state tracking mechanism which I have no idea how to reset.
2019-04-24 04:20:53 +01:00
Fufu Fang cfd4bda9c7 added a doxyfile for documentation generation 2019-04-24 04:20:51 +01:00
Fufu Fang 03627fe3fe beautify the filenames 2019-04-24 04:20:51 +01:00
Fufu Fang 71339f13b8 first ever published version 2018-07-23 01:27:03 +01:00
Fufu Fang 121da584c0 rewriting http.c and http.h, because the current version is insane 2018-07-20 00:17:19 +01:00
Fufu Fang c9ada27eb0 fixed rewind function in http.c 2018-07-19 00:03:23 +01:00
Fufu Fang cd097dc4f1 initial commit 2018-07-18 16:26:26 +01:00