12345678910111213141516171819202122 |
- Description: Use $(DESTDDIR) when installing files
- Author: Christoph Biedl <debian.axhn@manchmal.in-ulm.de>
- Forwarded: No
- Last-Update: 2017-11-18
- --- a/Makefile.in
- +++ b/Makefile.in
- @@ -48,10 +48,10 @@
- rm -Rf $(PKG)
-
- install: all
- - install -d $(bindir) $(includedir) $(libdir)
- - install bgpdump $(bindir)
- - install $(LIB_H) $(includedir)
- - install libbgpdump.so libbgpdump.a $(libdir)
- + install -d $(DESTDIR)/$(bindir) $(DESTDIR)/$(includedir) $(DESTDIR)/$(libdir)
- + install bgpdump $(DESTDIR)/$(bindir)
- + install $(LIB_H) $(DESTDIR)/$(includedir)
- + install libbgpdump.so libbgpdump.a $(DESTDIR)/$(libdir)
-
- PKG=@PACKAGE_NAME@-@PACKAGE_VERSION@
- dist:
|