summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorLibravatar Edgar Toernig <froese@gmx.de>2005-04-30 09:46:49 -0700
committerLibravatar Linus Torvalds <torvalds@ppc970.osdl.org>2005-04-30 09:46:49 -0700
commitecee9d9e793c7573cf3730fb9746527a0a7e94e7 (patch)
tree0cd8a2506a2960a0697fd7aaa2cd0dfc38b1aa67 /Makefile
parent[PATCH] Fix AUTHOR_DATE timezone confusion (diff)
downloadtgif-ecee9d9e793c7573cf3730fb9746527a0a7e94e7.tar.xz
[PATCH] Do date parsing by hand...
...since everything out there is either strange (libc mktime has issues with timezones) or introduces unnecessary dependencies for people (libcurl). This goes back to the old date parsing, but moves it out into a file of its own, and does the "struct tm" to "seconds since epoch" handling by hand. I grepped through the tz-database and it seems there's one "country" left that has non-60-minute DST: Lord Howe Island. All others dropped that before 1970.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index ef9a9fae88..7b51773ab0 100644
--- a/Makefile
+++ b/Makefile
@@ -28,7 +28,8 @@ all: $(PROG)
install: $(PROG) $(SCRIPTS)
install $(PROG) $(SCRIPTS) $(HOME)/bin/
-LIB_OBJS=read-cache.o sha1_file.o usage.o object.o commit.o tree.o blob.o tag.o
+LIB_OBJS=read-cache.o sha1_file.o usage.o object.o commit.o tree.o blob.o \
+ tag.o date.o
LIB_FILE=libgit.a
LIB_H=cache.h object.h blob.h tree.h commit.h tag.h
@@ -91,7 +92,6 @@ git-diff-tree-helper: diff-tree-helper.c
git-tar-tree: tar-tree.c
git-http-pull: LIBS += -lcurl
-git-commit-tree: LIBS += -lcurl
# Library objects..
blob.o: $(LIB_H)