forked from jaysoffian/eap_proxy
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add build script, .gitignore for Debian package and intermediates
- Loading branch information
1 parent
9ecdfdb
commit bc00c0a
Showing
2 changed files
with
22 additions
and
0 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
# intermediate Debian package build files | ||
debian/debhelper-build-stamp | ||
debian/eap-proxy* | ||
debian/files | ||
eap_proxy | ||
eap_proxy.1.gz | ||
eap_proxy.conf | ||
|
||
# resulting binary package | ||
dist/* |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
#!/bin/bash | ||
# Simple build script for Debian source package. | ||
# Builds a binary package, moves it to dist/, and cleans | ||
pkgname=eap-proxy | ||
mkdir -p dist | ||
if dpkg-buildpackage -us -uc && mv ../$pkgname_*_all.deb dist/; then | ||
read -p "Build succeeded. Clean? [Y|n]: " ans | ||
ans=$(echo "$ans" | tr [:lower:] [:upper:]) | ||
if ([ -z "$ans" ] || [ "$ans" = "Y" ]); then | ||
debian/rules clean | ||
fi | ||
fi |