patch-Makefile_in 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. --- mxml-2.10.orig/Makefile.in 2014-10-19 19:21:48.000000000 +0200
  2. +++ mxml-2.10/Makefile.in 2017-03-30 19:52:58.195963935 +0200
  3. @@ -88,7 +88,7 @@ PUBLIBOBJS = mxml-attr.o mxml-entity.o m
  4. mxml-index.o mxml-node.o mxml-search.o mxml-set.o
  5. LIBOBJS = $(PUBLIBOBJS) mxml-private.o mxml-string.o
  6. OBJS = mxmldoc.o testmxml.o $(LIBOBJS)
  7. -TARGETS = $(LIBMXML) mxmldoc testmxml mxml.xml doc/mxml.man
  8. +TARGETS = $(LIBMXML)
  9. #
  10. @@ -139,26 +139,13 @@ clang-changes:
  11. # Install everything...
  12. #
  13. -install: $(TARGETS) install-$(LIBMXML) install-libmxml.a
  14. - echo Installing mxmldoc in $(BUILDROOT)$(bindir)...
  15. - $(INSTALL_DIR) $(BUILDROOT)$(bindir)
  16. - $(INSTALL_BIN) mxmldoc $(BUILDROOT)$(bindir)
  17. - echo Installing documentation in $(BUILDROOT)$(docdir)...
  18. - $(INSTALL_DIR) $(BUILDROOT)$(docdir)
  19. - for file in $(DOCFILES); do \
  20. - $(INSTALL_MAN) $$file $(BUILDROOT)$(docdir); \
  21. - done
  22. +install: $(TARGETS) install-$(LIBMXML)
  23. echo Installing header files in $(BUILDROOT)$(includedir)...
  24. $(INSTALL_DIR) $(BUILDROOT)$(includedir)
  25. $(INSTALL_DATA) mxml.h $(BUILDROOT)$(includedir)
  26. echo Installing pkgconfig files in $(BUILDROOT)$(libdir)/pkgconfig...
  27. $(INSTALL_DIR) $(BUILDROOT)$(libdir)/pkgconfig
  28. $(INSTALL_DATA) mxml.pc $(BUILDROOT)$(libdir)/pkgconfig
  29. - echo Installing man pages in $(BUILDROOT)$(mandir)...
  30. - $(INSTALL_DIR) $(BUILDROOT)$(mandir)/man1
  31. - $(INSTALL_MAN) doc/mxmldoc.man $(BUILDROOT)$(mandir)/man1/mxmldoc.1
  32. - $(INSTALL_DIR) $(BUILDROOT)$(mandir)/man3
  33. - $(INSTALL_MAN) doc/mxml.man $(BUILDROOT)$(mandir)/man3/mxml.3
  34. install-libmxml.a:
  35. echo Installing libmxml.a to $(BUILDROOT)$(libdir)...