patch-Makefile_am 934 B

123456789101112131415161718192021222324252627282930
  1. --- systemd-231.orig/Makefile.am 2016-07-25 21:49:47.000000000 +0200
  2. +++ systemd-231/Makefile.am 2016-11-24 02:37:14.165088827 +0100
  3. @@ -312,9 +312,9 @@ install-aliases-hook:
  4. set -- $(SYSTEM_UNIT_ALIASES) && \
  5. dir=$(systemunitdir) && $(install-aliases)
  6. set -- $(USER_UNIT_ALIASES) && \
  7. - dir=$(userunitdir) && $(install-relative-aliases)
  8. + dir=$(userunitdir) && $(install-aliases)
  9. set -- $(GENERAL_ALIASES) && \
  10. - dir= && $(install-relative-aliases)
  11. + dir= && $(install-aliases)
  12. define install-aliases
  13. while [ -n "$$1" ]; do \
  14. @@ -324,15 +324,6 @@ define install-aliases
  15. shift 2 || exit $$?; \
  16. done
  17. endef
  18. -
  19. -define install-relative-aliases
  20. - while [ -n "$$1" ]; do \
  21. - $(MKDIR_P) `dirname $(DESTDIR)$$dir/$$2` && \
  22. - rm -f $(DESTDIR)$$dir/$$2 && \
  23. - $(LN_S) --relative $(DESTDIR)$$1 $(DESTDIR)$$dir/$$2 && \
  24. - shift 2 || exit $$?; \
  25. - done
  26. -endef
  27. install-touch-usr-hook:
  28. touch -c $(DESTDIR)/$(prefix)