summaryrefslogtreecommitdiff
path: root/common.mk
AgeCommit message (Collapse)Author
2015-01-04Found a mistake in librefetch-install, use @pkgconfdir@ to avoid those types ↵Luke Shumaker
of errors
2015-01-04Wow, I botched some Makefile stuffLuke Shumaker
2015-01-01Add a utility to add/remove librefetch from makepkg.confLuke Shumaker
This script is formerly the install script for the bundled-up package.
2014-10-01conf.sh: don't hardcode /etc, get it during build from $(sysconfdir)Luke Shumaker
2014-10-01Hmm, $(libexecs) and $(libs) should have been included in $(build_files)Luke Shumaker
2014-07-05quote calls to librelibLuke Shumaker
2014-07-02Generate po/*.pot filesLuke Shumaker
2014-06-29common.mk: pull $(docdir)/libretools into $(pkgdocdir)testing-20140630Luke Shumaker
2014-06-29common.mk: don't install HACKING.md filesLuke Shumaker
2014-06-27Add librexgettext, to make generating .pot file easy for librelib users.Luke Shumaker
I don't like how much longer this is than the Makefile, but most of it is option parsing and usage text.
2014-06-20Fix some hard-coded shebangsLuke Shumaker
2014-03-22Makefiles: inhibit emacs from creating *~ files when formatting a fileLuke Shumaker
2014-03-21Fix a small bug in common.mkLuke Shumaker
2014-03-20Generalize the patching mechanism in the build system.Luke Shumaker
2014-02-02Makefiles: use .DELETE_ON_ERROR:Luke Shumaker
2013-09-26Makefile: create a standard 'pot' targetLuke Shumaker
2013-09-23Makefile: fix xgettext rulesLuke Shumaker
2013-09-11Update to the new version of devtools (huge commit).Luke Shumaker
User-facing changes: - libremessages: `lock_open_write` became `lock` - libremessages: `lock_open_read` became `slock` - librechroot: learned the `-r` and `-w` flags to do bind mounts. Internal changes: The changes to librechroot were pretty straight-forward; the biggest change is that `archroot` got split into `mkarchroot` and `arch-nspawn`. libremakepkg got a major overhaul Honestly, the changes to libremakepklg probably could have been a lot smaller, but... I wanted to do it right/be clean. makechrootpkg in devtools got cleaned up a lot, actually a lot of the same changes I was making. But, the small differences between the way we did things made it less than simple to adjust. The biggest changes in terms of conflict for me are how devtools now uses bind-mounts to put files in the chroot, and that the /chrootbuild file is more complicated. I handled a lot of the complexity by moving things out of the main program, and adding hooks for non-core functionality, including chcleanup, distcc compatability hacks, and PKGBUILD/pkg checking. Unfortunately, the files containing the hooks are currently hard-coded. Perhaps they will be truly pluggable in the future. That might be neat. Or over-complicated. We'll see where it goes.
2013-09-11libremessages: add a few more message routines, and make them gettext-aware.Luke Shumaker
- Don't set LANG=C in common.sh - Move TEXTDOMAIN stuff into common.sh; so devtools stuff will use it. - Add _(): Basically an alias for `gettext`, but falls back if gettext is not available. - Add panic(): First showed up in `distcc-tool`, does what it sounds like. - Add prose(), bullet(), and flag(): they do word wrapping and such to make it easy to internationalize `--help` text. - Teach common.mk how to make .pot files based on these routines.
2013-09-11Make common-devtools.mk unnecessary. Move devtools chroot stuff into ↵Luke Shumaker
chroot-tools
2013-07-27fix ronn stripping too much from the filenamev20130727.1Luke Shumaker
2013-07-27revamp the Makefiles to support manpagesLuke Shumaker
2013-06-15Makefiles: pull the config section into config.mkLuke Shumaker
2013-05-26redo the library system; avoid hard-coded pathsLuke Shumaker
* install all library files to $(libexecdir)/libretools, instead of - $(bindir) - $(datadir)/libretools - $(datadir)/devtools * symlink the executable library files into $(bindir) * add the tool `librelib` * instead of ". /path/to/lib.sh", use ". $(librelib lib.sh)" * mark all libraries with shebangs of what options they support * move blacklist.sh to libreblacklist
2013-05-26Makefile: things in libre_datadir should be 644, not 755Luke Shumaker
2012-12-09make the Makefile(s)... mortal-friendlyLuke Shumaker
I did this by making the assumption that the files in a directory are dividable into 2 groups: those that are executable, and those that aren't, and that all of the files in each group all go in the same folder when installed. These install directories are configurable per source directory with $(libre_execdir) and $(libre_datadir)