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.

34 lines
938 B

  1. --- a/Makefile
  2. +++ b/Makefile
  3. @@ -15,8 +15,8 @@ DESTDIR = /usr/local
  4. # set the compiler to use
  5. CC = gcc
  6. -SVNDEV := -D'SVN_REV="$(shell svnversion -c .)"'
  7. -CFLAGS += $(SVNDEV)
  8. +#SVNDEV := -D'SVN_REV="$(shell svnversion -c .)"'
  9. +#CFLAGS += $(SVNDEV)
  10. # general compile flags, enable all warnings to make compile more verbose
  11. CFLAGS += -DLINUX -D_GNU_SOURCE -Wall
  12. --- a/mjpg_streamer.c
  13. +++ b/mjpg_streamer.c
  14. @@ -253,15 +253,12 @@ int main(int argc, char *argv[])
  15. /* v, version */
  16. case 6:
  17. case 7:
  18. - printf("MJPG Streamer Version: %s\n" \
  19. - "Compilation Date.....: %s\n" \
  20. - "Compilation Time.....: %s\n",
  21. + printf("MJPG Streamer Version: %s\n",
  22. #ifdef SVN_REV
  23. - SVN_REV,
  24. + SVN_REV);
  25. #else
  26. - SOURCE_VERSION,
  27. + SOURCE_VERSION);
  28. #endif
  29. - __DATE__, __TIME__);
  30. return 0;
  31. break;