ear/extract/Makefile: Setting time stamp of extract to that of source
authorJerome St-Louis <jerome@ecere.com>
Sat, 9 Jan 2016 02:30:23 +0000 (21:30 -0500)
committerJerome St-Louis <jerome@ecere.com>
Sat, 9 Jan 2016 04:15:34 +0000 (23:15 -0500)
- For reproducible builds in Debian packages

ear/extract/Makefile

index 69c34e3..6817153 100644 (file)
@@ -220,6 +220,9 @@ endif
 else
        $(AR) rcs $(TARGET) $(OBJECTS) $(LIBS)
 endif
+ifdef DEBIAN_PACKAGE
+       touch -r extract.ec $(OBJ)extract.c $(OBJ)$(MODULE).main.ec $(OBJ)$(MODULE).main.c $(OBJECTS) $(SYMBOLS) $(TARGET)
+endif
 
 # SYMBOL RULES