biome: 1.9.2 -> 1.9.3
[NixPkgs.git] / pkgs / tools / networking / minissdpd / makefile-install-dir.patch
blobe887c28878a04b036ce84b6989c54744c9dda0b2
1 diff --git a/Makefile b/Makefile
2 index b14e2fa..4472598 100644
3 --- a/Makefile
4 +++ b/Makefile
5 @@ -74,8 +74,8 @@ install: minissdpd
6 $(INSTALL) -d $(DESTDIR)$(MANINSTALLDIR)/man1
7 $(INSTALL) minissdpd.1 $(DESTDIR)$(MANINSTALLDIR)/man1/minissdpd.1
8 ifeq (, $(findstring darwin, $(OS)))
9 - $(INSTALL) -d $(DESTDIR)/etc/init.d
10 - $(INSTALL) minissdpd.init.d.script $(DESTDIR)/etc/init.d/minissdpd
11 + $(INSTALL) -d $(DESTDIR)$(INSTALLPREFIX)/etc/init.d
12 + $(INSTALL) minissdpd.init.d.script $(DESTDIR)$(INSTALLPREFIX)/etc/init.d/minissdpd
13 endif
15 check: validateminissdpd validatecodelength