diff --git a/Makefile b/Makefile index 712d337..266780b 100644 --- a/Makefile +++ b/Makefile @@ -18,4 +18,5 @@ clean: rm -f *.o writeimg install: writeimg - install -m 0755 writeimg /usr/local/bin/writeimg + install -c -s writeimg /usr/local/bin/writeimg + install -m 0755 $(PROG) $(DESTDIR)$(BINDIR)/$(PROG) diff --git a/writeimg.c b/writeimg.c index f85eca8..25304e1 100644 --- a/writeimg.c +++ b/writeimg.c @@ -16,10 +16,6 @@ #define VERSION "1.0.0" #endif -#ifndef CR_YEAR -#define CR_YEAR "2026" -#endif - // clang-format off const char help[] = "Usage:\n" @@ -128,9 +124,7 @@ static const struct option longopts[] = { int main(int argc, char *argv[]) { printf("%s version %s\n", basename(argv[0]), VERSION); -#ifdef BLDDATE printf("Build date: %s\n", BLDDATE); -#endif fprintf(stdout, copyright, CR_YEAR); printf("\n");