Created
March 27, 2011 06:07
-
-
Save Elv13/888971 to your computer and use it in GitHub Desktop.
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
DPKGBUILDCMD=dpkg-buildpackage -b -D -us -uc -tc -rfakeroot | |
DEBREPO="../debrepo" | |
DEB_INCOMING="${DEBREPO}/incoming/work" | |
# Build all system packages | |
# System packages contains linux configuration files as well | |
# --- Package creation --- | |
all: packageName1 packageName2 packageName3 | |
packageName1: | |
cd packageName1 && ${DPKGBUILDCMD} | |
cp packageName1_*.deb ${DEB_INCOMING} | |
packageName2: | |
cd packageName2 && ${DPKGBUILDCMD} | |
cp packageName2_*.deb ${DEB_INCOMING} | |
packageName3: | |
cd packageName3 && ${DPKGBUILDCMD} | |
cp packageName3_*.deb ${DEB_INCOMING} | |
# --- Package cleanup --- | |
clean: | |
rm *.deb *.changes || true | |
.PHONY: all clean packageName1 packageName2 packageName3 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment