Klimi's new dotfiles with stow.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

43 lines
1.3 KiB

5 years ago
  1. bin_PROGRAMS = epdfinfo
  2. epdfinfo_CFLAGS = -Wall $(glib_CFLAGS) $(poppler_glib_CFLAGS) $(poppler_CFLAGS) \
  3. $(png_CFLAGS)
  4. epdfinfo_CXXFLAGS = -Wall $(epdfinfo_CFLAGS)
  5. epdfinfo_LDADD = $(glib_LIBS) $(poppler_glib_LIBS) $(poppler_LIBS) \
  6. $(png_LIBS) libsynctex.a $(zlib_LIBS)
  7. epdfinfo_SOURCES = epdfinfo.c epdfinfo.h poppler-hack.cc
  8. noinst_LIBRARIES = libsynctex.a
  9. libsynctex_a_SOURCES = synctex_parser.c synctex_parser_utils.c synctex_parser.h \
  10. synctex_parser_local.h synctex_parser_utils.h
  11. libsynctex_a_CFLAGS = -w $(zlib_CFLAGS)
  12. if HAVE_W32
  13. epdfinfo_LDADD += -lshlwapi
  14. endif
  15. SYNCTEX_UPSTREAM = svn://tug.org/texlive/tags/texlive-2017.1/Build/source/texk/web2c/synctexdir
  16. SYNCTEX_FILES = synctex_parser.c \
  17. synctex_parser.h \
  18. synctex_parser_local.h \
  19. synctex_parser_readme.txt \
  20. synctex_parser_utils.c \
  21. synctex_parser_utils.h \
  22. synctex_parser_version.txt
  23. check-local:
  24. @if $(MAKE) --version 2>&1 | grep -q GNU; then \
  25. cd test && $(MAKE) $(AM_MAKEFLAGS); \
  26. else \
  27. echo "Skipping tests in server/test (requires GNU make)"; \
  28. fi
  29. synctex-pull:
  30. @if [ -n "$$(git status --porcelain)" ]; then \
  31. git status; \
  32. echo "Not checking-out files into a dirty work-directory"; \
  33. false; \
  34. fi
  35. for file in $(SYNCTEX_FILES); do \
  36. svn export --force $(SYNCTEX_UPSTREAM)/$$file; \
  37. done