subst.inc 668 B

1234567891011121314151617181920
  1. .in:
  2. if sed \
  3. -e 's#[@]localstatedir_POST@#$(localstatedir)#g' \
  4. -e 's#[@]sbindir_POST@#$(sbindir)#g' \
  5. -e 's#[@]pluginsdir_POST@#$(pluginsdir)#g' \
  6. -e 's#[@]configdir_POST@#$(configdir)#g' \
  7. -e 's#[@]libconfigdir_POST@#$(libconfigdir)#g' \
  8. -e 's#[@]pkglibexecdir_POST@#$(pkglibexecdir)#g' \
  9. -e 's#[@]cachedir_POST@#$(cachedir)#g' \
  10. -e 's#[@]registrydir_POST@#$(registrydir)#g' \
  11. -e 's#[@]varlibdir_POST@#$(varlibdir)#g' \
  12. -e 's#[@]webdir_POST@#$(webdir)#g' \
  13. -e 's#[@]enable_aclk_POST@#$(enable_aclk)#g' \
  14. -e 's#[@]enable_cloud_POST@#$(enable_cloud)#g' \
  15. $< > $@.tmp; then \
  16. mv "$@.tmp" "$@"; \
  17. else \
  18. rm -f "$@.tmp"; \
  19. false; \
  20. fi