Last active
August 29, 2015 14:01
-
-
Save tsibley/ecec8d52c417221f480a to your computer and use it in GitHub Desktop.
Alternate Makefile to only build and install a select few of the moreutils package
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
BINS := sponge pee | |
PERLSCRIPTS := chronic | |
MANS := $(BINS:=.1) $(PERLSCRIPTS:=.1) | |
PREFIX := /usr/local | |
selected := PREFIX=$(PREFIX) BINS="$(BINS)" PERLSCRIPTS="$(PERLSCRIPTS)" MANS="$(MANS)" | |
all: | |
make all $(selected) | |
install: | |
make install $(selected) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment