Skip to content

Commit

Permalink
Okay, let's get rid of automatic version entirely.
Browse files Browse the repository at this point in the history
Because of the way that Luarocks runs, I can't do use what
I normally use for the version number (git describe --tag).
So, until I figure out a way, let's do this manually.

Sigh
  • Loading branch information
spc476 committed Apr 29, 2013
1 parent 7fe120e commit aff789f
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 40 deletions.
1 change: 0 additions & 1 deletion .gitignore
Expand Up @@ -7,4 +7,3 @@
lib/
obj/
so/

9 changes: 2 additions & 7 deletions Makefile
Expand Up @@ -139,7 +139,7 @@ obj/uuidlib_v5.o : src/uuidlib_v5.c src/uuid.h

# ===================================================

so/luauuid.o : src/luauuid.c src/uuid.h version.h
so/luauuid.o : src/luauuid.c src/uuid.h
$(CC) $(CFLAGS) $(LIBFLAG) -c -o $@ $<

so/uuid_ns_dns.o : src/uuid_ns_dns.c src/uuid.h
Expand Down Expand Up @@ -184,11 +184,6 @@ so/uuidlib_v5.o : src/uuidlib_v5.c src/uuid.h

# ===================================================

version.h :
scripts/post-commit

# ===================================================

install: lib obj lib/libspcuuid.a
install -d $(INCLUDE)/org/coman
install src/uuid.h $(INCLUDE)/org/conman
Expand All @@ -206,4 +201,4 @@ remove-lua:
$(RM) -rf $(LUALIB)/org/conman/uuid.so

clean:
$(RM) -rf *~ version.h src/*~ lib/ obj/ so/
$(RM) -rf *~ src/*~ lib/ obj/ so/
2 changes: 1 addition & 1 deletion src/luauuid.c
Expand Up @@ -36,9 +36,9 @@
#include <lauxlib.h>

#include "uuid.h"
#include "../version.h"

#define TYPE_UUID "org.conman.uuid:UUID"
#define VERSION "0.9.57"

/***********************************************************************/

Expand Down
31 changes: 0 additions & 31 deletions version.h

This file was deleted.

0 comments on commit aff789f

Please sign in to comment.