diff Makefile @ 6:4269feba381e

Ensure everything is built before installing
author Guido Berhoerster <guido+pwm@berhoerster.name>
date Mon, 06 Feb 2017 10:38:57 +0100
parents 55281f14dc9b
children 25e227eba3da
line wrap: on
line diff
--- a/Makefile	Sun Feb 05 13:54:39 2017 +0100
+++ b/Makefile	Mon Feb 06 10:38:57 2017 +0100
@@ -1,5 +1,5 @@
 #
-# Copyright (C) 2016 Guido Berhoerster <guido+pwm@berhoerster.name>
+# Copyright (C) 2017 Guido Berhoerster <guido+pwm@berhoerster.name>
 #
 # Permission is hereby granted, free of charge, to any person obtaining
 # a copy of this software and associated documentation files (the
@@ -178,7 +178,7 @@
 	$(MAKEDEPEND.c) $< | $(SED) -f deps.sed >$*.d
 	$(COMPILE.c) -o $@ $<
 
-install:
+install: all
 	$(INSTALL.exec) $(PACKAGE) "$(DESTDIR)$(bindir)/$(PACKAGE)"
 	for manpage in $(MANPAGES); do \
 	    if [ -L $${manpage} ]; then \