summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@sbcglobal.net>2016-06-17 17:01:13 -0400
committerLuke Shumaker <lukeshu@sbcglobal.net>2016-06-17 17:01:13 -0400
commitc0335ca8145e80a07e0189204b8c9fb5e0cbf5e5 (patch)
treeca7522d6a730a66813689ed79d784520d48676c1
parente73f3527e0c4ccfc722b3c361c96cd55822c30c1 (diff)
Makefile: easy saving of config variables
-rw-r--r--.gitignore2
-rw-r--r--Makefile6
2 files changed, 3 insertions, 5 deletions
diff --git a/.gitignore b/.gitignore
index 0446d88..b128030 100644
--- a/.gitignore
+++ b/.gitignore
@@ -11,3 +11,5 @@
/LICENSE.*.txt
parabola-keyring-*.tar.gz
+
+/config.mk
diff --git a/Makefile b/Makefile
index 8eaf4f3..4ddef29 100644
--- a/Makefile
+++ b/Makefile
@@ -13,11 +13,7 @@
# You should have received a copy of the GNU Affero General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
-prefix=/usr
-bindir=$(libexecdir)/$(PACKAGE)
-libexecdir=$(libdir)
-sysconfdir=/etc
-
+-include config.mk
PACKAGE = parabola-hackers
sysusersdir=$(prefix)/lib/sysusers.d
systemunitdir=$(prefix)/lib/systemd/system