Commit Graph

35 Commits

Author SHA1 Message Date
e2c0033683 Edited ldflags order. 2022-01-09 18:55:47 +01:00
Philippe PITTOLI
971ba41c1b Command "tr '\n' ' '" not needed anymore in crystal depends[]. 2020-04-28 18:13:23 +02:00
Philippe PITTOLI
3177b525a0 Static and shared C libs: allow writing "depends[x]=$(ls src/*.h)". 2020-04-27 02:50:43 +02:00
Philippe PITTOLI
b3c1b42704 Adding depends content in the dependencies for static & shared C libs. 2020-04-27 02:12:17 +02:00
e5683bd69d sass: $depends not ignored anymore. 2020-01-18 02:48:47 +01:00
1e613c3422
Merge pull request #4 from KaneRoot/master
Changes flags order for C binaries.
2019-11-14 17:52:41 +01:00
Philippe PITTOLI
a176c2bef2 Changing flags order for C binaries. 2019-11-14 17:49:41 +01:00
26a33cca52 Removed most hardcoded variables. 2019-11-14 14:49:35 +01:00
67e1b43859 Adds WIP SASS and LiveScript backends. 2019-11-10 13:23:47 +01:00
dbaa42c1ff ${type}.prelude, improved crystal.zsh 2019-11-05 01:16:59 +01:00
0b4028e979 Crystal support improved. 2019-11-04 19:28:13 +01:00
7d15fbb3d3 chmod[$target], version bump
Allows setting the permissions of installed files. Defaults to 755 if
unset.
2019-10-24 00:45:47 +02:00
Philippe PITTOLI
c58ea37996 Adding scdocman script to allow scdoc man pages. 2019-08-28 12:45:49 +02:00
939295f95a Experimental fix to remove unrequired dependencies. 2019-07-08 04:29:05 +02:00
1d141a64d6 Additional fixes for dependencies on directories. 2019-07-08 04:10:04 +02:00
4d49afcd52 Improved substitutions with type[]=script. 2019-06-12 02:40:16 +02:00
7ffb3c8afa Improved dependency handling for build-directories. 2019-06-09 19:19:50 +02:00
10f3708e4e Target directory creation.
(eg. `bin/` is created for a `bin/hello` target)
2019-05-28 19:05:17 +02:00
ac042da757 Crystal backend updated. 2019-05-28 18:45:35 +02:00
2feec7be0b New module: header.
Intended as an installation shortcut for C header files.
2018-11-20 19:02:45 +09:00
f7154334ae man (manpages) module added. 2017-11-04 13:01:13 +01:00
99165c6964 Crystal build script added. 2016-05-07 13:52:26 +02:00
82da094ca9 Bugfix.
I should use this thing more often. Unused code magically appears to
break.
2016-05-05 09:49:25 +02:00
ffb382d998 C-binaries related bugfix. 2016-04-23 01:29:36 +02:00
671fac6d8f Broken moonscript module fixed. 2016-04-06 13:26:23 +02:00
2024b1e1f9 Shebangs added to compiled moonscript files.
- If an alternate installation directory is specified by hand,
	  however, no shebang will be added, because that file is likely
	  to be used as a module or some other sort of loadable code.
	- This is mostly a temporary workaround, because we need to be
	  more specific about what files need to receive a shebang and
	  what other files do not. auto[$target] could do the
	  distinction, though, but additional variables could be
	  preferable.
2016-04-06 13:16:27 +02:00
b449ce07a3 Possible brokeness fixed in scripts and moon. 2016-04-06 12:05:18 +02:00
711e92c22d Various.
- nodist[file] can be used to prevent inclusion of something in the
	  tarballs, even if it’s a source or something that should normally be
	  included.
	- filename[target] can be used to rename files at installation-time.
	- A moonscript module was added.
	- Many modules update.
	- Some grooming, some deprecated code removed.
	- Makefile regenerated.
2016-04-06 10:12:06 +02:00
45fd4e45eb Prevents make from using automated rules when nothing should be done.
- For libraries, at least. It probably should be done in many
	  other places too.
2015-05-15 19:26:50 +02:00
3d91eac15d .in scripts are somewhat better handled.
- Also, this build.zsh itself builds itself more nicely, with
	  nice building messages and stuff.
	- It also fixes the problem of on-system scripts that were…
	  well… kind of ignored. Yeah, I’m not working very seriously on
	  this…
2015-04-07 10:23:36 +02:00
41b495b0e8 Libraries are now built properly (both static and dynamic, with symlinks). 2015-04-07 10:12:17 +02:00
2725adf5c4 build.zsh can be installed on the user’s system. o/
Yeah, it’s pretty much useless. But it allowed me to run tests and fix a
few minor bugs, so… whatever?
2015-04-06 23:00:08 +02:00
f30e64e604 Automatic rules rulez! (for things like .o files)
- This update also allowed to have a somewhat cleaner
	  support for building libraries. (because the code to generate
	  the rules for the .o files is common, uh)
	- Such automatic rules are hidden from the Makefiles’ “help”
	  message, as they previously were.
	- subdirs are expected to have been broken.

I should really write a real tool to do this job. In, say, C, maybe?
2015-04-06 22:42:56 +02:00
dd63cd87e1 Update. o/
- “help” virtual target added to Makefiles.
	  That target also prints the current Makefile configuration,
	  so that users can make sure they’re exporting the right
	  variables.
	- Some fixes and minor new variables to help making tests or
	  re-use automated rules, although those could be done in a
	  completely clean way, and it’s presently not being done…
	- Better dependencies tracking with C-like binaries.
	- Maybe something else. Those were old modifications that I just
	  pushed.
2015-04-05 11:00:54 +02:00
7be1efdd03 Initial commit. 2014-11-05 13:32:11 +01:00