summaryrefslogtreecommitdiff
path: root/Makefile
AgeCommit message (Collapse)Author
2022-10-02Makefile: use PREFIX in "make install", use DESTDIR in traditional waysGerhard Sittig
Commit 4fafe8159940 as of 2012-05-14 introduced a simple "make install" target. Unfortunately it used the DESTDIR variable to mean the location where captures get installed to (relative to the target filesystem's root). But traditionally DESTDIR is an optional "root directory" owned by packagers or used for cross build installs. While the install location within the filesystem should be relative to a --prefix spec which users can control during build. Use DESTDIR during installation in its traditional meaning, accept when it's specified externally, but don't modify it locally. Use PREFIX to mean the in-filesystem base directory which share/... gets appended to. Provide a backwards compatible builtin, accept an external override. $ make PREFIX=${HOME} install $ make DESTDIR=$( pwd )/rootfs install Add a developer comment. Ideally we would not have to roll DIY shell commands, and use a higher level build tool instead. The reason that this has not been done yet might be the portable construction of the list of directories to install at compile time (a guess).
2022-10-02Makefile: explicitly list which example capture subdirs to installGerhard Sittig
Commit 4fafe8159940 as of 2012-05-14 introduced a simple "make install" target. The asterisk wildcard and the additional Makefile "negation" use to work for clean checkouts, but are considered too greedy a pattern for locally modified work areas during development. Explicitly list which subdirs to install to the filesystem. Which improves robustness, avoids clutter, and is considered acceptable maintenance overhead since adding more top level directories should be rare an event. The explicit list is also easy to trim down should developers want that during local work. Phrase the subdirectories list such that users can specify additional items in the "make install" invocation.
2017-01-07license: remove FSF postal address from boiler plate license textGerhard Sittig
Remove the FSF postal address as it might change (it did in the past). Reference the gnu.org website instead which is more stable.
2013-04-23GPL headers: Use correct project name.Uwe Hermann
2012-05-14Makefile: Add a simple 'install' target.Uwe Hermann
2012-05-11Makefile: Generate/add ChangeLog for dist target.Uwe Hermann
2012-05-11Makefile: Name target 'dist' for consistency.Uwe Hermann
Also, a few small typo fixes etc.
2012-04-19Use versions, not dates (0.1.0 for now).Uwe Hermann
2012-03-24Add Makefile which builds a sigrok-dumps tarball.Uwe Hermann