summaryrefslogtreecommitdiffstats
path: root/Makefile
AgeCommit message (Collapse)AuthorFilesLines
2012-12-02build: use git-archive to create tarballsDave Reisner1-2/+3
Append generated files afterwards. This preserves symlinks, and probably other things too. Signed-off-by: Dave Reisner <dreisner@archlinux.org>
2012-11-26replace find_in_dirs with PATH= manipulationDave Reisner1-2/+2
Declaring our lookup paths like normal colon delimited PATHs lets us reuse them for builtins like source and type to do the same work that this function previously did. Signed-off-by: Dave Reisner <dreisner@archlinux.org>
2012-11-24Makefile: copy directories, not individual files on installDave Reisner1-3/+2
This allow preservation of symlinks. Signed-off-by: Dave Reisner <dreisner@archlinux.org>
2012-11-24build: move manpages to subdirDave Reisner1-7/+7
Signed-off-by: Dave Reisner <dreisner@archlinux.org>
2012-11-12Makefile: remove non-existing files from clean target0.11.2Dave Reisner1-1/+0
Signed-off-by: Dave Reisner <dreisner@archlinux.org>
2012-10-21add manpage for mkinitcpio.confDave Reisner1-0/+2
Signed-off-by: Dave Reisner <dreisner@archlinux.org>
2012-10-21makefile: spring cleaningDave Reisner1-40/+32
- use MANPAGES instead of DIST_EXTRA (it's only manpages anyways) - uniformly use $(var) instead of ${var} - consolidate manpage generate rules - prefer cp over install when symlinks might be involved
2012-10-07commit to some level of style in variable namingDave Reisner1-6/+6
This is an ugly patch, and probably does more than I'd like it to. The idea is that mkinitcpio adopts some sort of consistent style which I'm actually happy with. I define 3 kinds of variables: 1) local variables: all lower case, and scoped within functions. Use freely, as they're well contained. 2) global variables: these are known to mkinitcpio internally, but are global in scope. They mainly carry runtime configuration and collected data during the image generation process. These are always lower case, but carry a leading underscore to denote that they're global. 3) "API" variables: also global in scope, but exist "outside" of mkinitcpio -- either drawn in from the configuration file, or "exported" to the install hooks. These are always all upper case. When introducing new variables, extreme care must be taken to pick names that will not conflict with the environment inherited by mkinitcpio. A HACKING file is introduced with a similar description of the above, and more. Signed-off-by: Dave Reisner <dreisner@archlinux.org>
2012-05-18buildsys: fix clean targetDave Reisner1-1/+1
We don't ship compressed manpages, and this never touched lsinitcpio's generated page. Signed-off-by: Dave Reisner <dreisner@archlinux.org>
2012-04-22create lsinitcpio symlink for bash completionDave Reisner1-0/+1
Signed-off-by: Dave Reisner <dreisner@archlinux.org>
2012-04-22Add manpage for lsinitcpioDave Reisner1-3/+13
Signed-off-by: Dave Reisner <dreisner@archlinux.org>
2012-04-02add minor tweaks to make testing a bit easierDave Reisner1-0/+1
Since INSTDIR and HOOKDIR are understood as arrays now, declare them as such with the local 'hooks' and 'install' first to override the local FS. This makes the missing udev error go away and allows easier testing of other out of tree hooks. Signed-off-by: Dave Reisner <dreisner@archlinux.org>
2012-03-24Makefile: simplify 'make dist' target0.8.5Dave Reisner1-9/+6
- Use git-ls-files and bsdtar to create the archive rather than using git-archive and an temporary directory. - Remove the tarball target. 'dist' is more common. - Remove the 'clean' dependency from dist. Our dependencies are sufficient higher up that touching the Makefile or the asciidoc input will trigger a doc rebuild on changes. Signed-off-by: Dave Reisner <dreisner@archlinux.org>
2012-03-24move bash completion to /usr/share/bash-completionDave Reisner1-2/+2
Signed-off-by: Dave Reisner <dreisner@archlinux.org>
2012-03-04add support for HOOKDIR/INSTDIR as arraysDave Reisner1-12/+12
This is a really ugly patch, but allows mkinitcpio to read hooks from multiple locations, namely: /usr/lib/initcpio/{install,hooks} /lib/initcpio/{install,hooks} Preference is given to the first, and all files included with mkinitcpio are moved there. Signed-off-by: Dave Reisner <dreisner@archlinux.org>
2012-01-05shutdown: add new hook0.8.1Dave Reisner1-1/+1
This adds functionality to pivot to back to the initramfs on shutdown, thereby allowing the system to unmount the real root device. This will be necessary for anyone with /usr as a separate partition.
2011-11-15Makefile: install binaries to /usr/binDave Reisner1-5/+4
Signed-off-by: Dave Reisner <dreisner@archlinux.org>
2011-10-16move manpage to section 8Dave Reisner1-7/+7
This is an admin command, not a config file. Signed-off-by: Dave Reisner <dreisner@archlinux.org>
2011-10-01harden version generationFlorian Pritz1-2/+5
If you run make dist, extract that tarball somewhere else and try to run makepkg it will fail because it can't find the git tree anymore. [Dave: removed --dirty flag, as this breaks makepkg] Signed-off-by: Florian Pritz <bluewind@xinu.at>
2011-07-10generate VERSION only for the tarballHEADmasterFlorian Pritz1-9/+5
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2011-07-05Makefile: allow git-describe to determine versionDave Reisner1-5/+10
For distribution, a VERSION file is written to and distributed for storing the ref. Signed-off-by: Dave Reisner <dreisner@archlinux.org>
2011-07-04mkinitcpio: include version in help msgDave Reisner1-0/+1
Signed-off-by: Dave Reisner <dreisner@archlinux.org>
2011-07-03Release version 0.7.10.7.1Thomas Bächler1-1/+1
2011-07-01lsinitcpio: add optional colorized outputDave Reisner1-1/+3
Signed-off-by: Dave Reisner <dreisner@archlinux.org>
2011-06-30Release version 0.70.7Thomas Bächler1-1/+1
2011-06-26Add missing /etc/bash_completion.d in MakefileGerardo Exequiel Pozzi1-0/+1
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2011-06-26Merge branch 'master' of https://github.com/seblu/arch-mkinitcpio into workingThomas Bächler1-0/+1
2011-06-26Add bash completion to mkinitcpioSebastien Luttringer1-0/+1
It's annoying to remember the name of preset each time Signed-off-by: Sebastien Luttringer <seblu@seblu.net>
2011-06-26Makefile: the Makefile itself is a dep for the manpageDave Reisner1-1/+1
This will force the doc to be regenerated if there is a version bump in the Makefile. Signed-off-by: Dave Reisner <d@falconindy.com>
2011-06-19mkinitcpio: bashification, part 1/2Dave Reisner1-5/+5
Always use bash's [[ ]], and apply (( )) where arithmetic calculations are made. We also take a few other bash shortcuts to simplify code where possible. We also touch the Makefile here to adjust the sed'ing for directory names. Signed-off-by: Dave Reisner <d@falconindy.com>
2011-06-16Makefile: refactor and simplifyDave Reisner1-52/+42
This should all lead to easier maintenance. * use git-archive to create the tarball, appending DIST_EXTRA to the tarball afterwards. * use commonly defined variables such as ${RM} * always use install, rather than cp to ensure proper permissions * functionize creation of directories * add .PHONY targets * combined commands wherever possible Signed-off-by: Dave Reisner <d@falconindy.com>
2011-06-16lsinitcpio: new utility to dump contents of imagesDave Reisner1-0/+5
Signed-off-by: Dave Reisner <d@falconindy.com>
2011-06-16Release version 0.6.150.6.15Thomas Bächler1-1/+1
2011-06-12Release version 0.6.140.6.14Thomas Bächler1-1/+1
2011-06-02Release version 0.6.130.6.13Thomas Bächler1-1/+1
2011-06-02Remove load-modules.sh. Requires the udev 171-2 package.Thomas Bächler1-2/+0
2011-05-14Release mkinitcpio 0.6.120.6.12Thomas Bächler1-1/+1
2011-04-21Release version 0.6.110.6.11Thomas Bächler1-1/+1
2011-04-10Release mkinitcpio 0.6.100.6.10Thomas Bächler1-1/+1
2011-03-27Release mkinitcpio 0.6.90.6.9Thomas Bächler1-1/+1
2011-01-26Release version 0.6.80.6.8Thomas Bächler1-1/+1
2010-07-11Release 0.6.70.6.7Thomas Bächler1-1/+2
2010-06-23memdisk: add 01-memdisk.rules to Makefile, use the correct path in ↵Thomas Bächler1-0/+1
install/memdisk
2010-06-19Release 0.6.60.6.6Thomas Bächler1-1/+1
2010-06-03Release 0.6.50.6.5Thomas Bächler1-1/+1
2010-05-08Release 0.6.40.6.4Thomas Bächler1-1/+1
2010-02-21Release 0.6.30.6.3Thomas Bächler1-1/+1
2010-02-14Release 0.6.20.6.2Thomas Bächler1-1/+1
2010-02-14Release 0.6.10.6.1Thomas Bächler1-1/+1
2010-02-11Release 0.60.6Thomas Bächler1-1/+1