* build.sh (all): Add `tver' variable to hold non-git version.
Use `git describe' instead of tla commands to get version.
* .gitignore: New file
* *: Update my email and copyright notices everywhere.
Signed-off-by: Steve Youngs <steve@steveyoungs.com>
--- /dev/null
+####
+# This file is used to ignore certain files in the repo, such as
+# anything that is generated by the build, etc.
+#
+# The zcdrip project uses a single .gitignore, so please DO NOT add
+# any .gitignore files to any of the sub directories.
+#
+# NOTE! Please use 'git ls-files -i --exclude-standard' command after
+# changing this file, to see if there are any tracked files which get
+# ignored after the change.
+####
+
+## Standard stuff
+*~
+*.orig
+\#*#
+*.o
+*.a
+*.i
+
+## build generated
+zcdrip
+ecdrip
+zdiscid
+
+## Because I'm so used to arch (tla)
+,,*
+++*
+=build
#!/bin/zsh
-## Copyright (C) 2006, 2007 Steve Youngs
+## Copyright (C) 2006 - 2011 Steve Youngs
-## Author: Steve Youngs <steve@sxemacs.org>
-## Maintainer: Steve Youngs <steve@sxemacs.org>
+## Author: Steve Youngs <steve@steveyoungs.com>
+## Maintainer: Steve Youngs <steve@steveyoungs.com>
## Created: <2006-08-16>
## This file is part of zcdrip
{
clean
sub=@VERSION@
- rep=$(tla logs --full|tail -n1)
+ tver=v0.7
+ rep=$(git describe 2>/dev/null||echo ${tver})
zmodload -i zsh/mapfile
gcc -Wall -o zdiscid zdiscid.c
mapfile[zcdrip]=${mapfile[zcdrip.in]/$sub/$rep}
#!/bin/zsh
-## Copyright (C) 2006 - 2008 Steve Youngs
+## Copyright (C) 2006 - 2011 Steve Youngs
-## Author: Steve Youngs <steve@sxemacs.org>
-## Maintainer: Steve Youngs <steve@sxemacs.org>
+## Author: Steve Youngs <steve@steveyoungs.com>
+## Maintainer: Steve Youngs <steve@steveyoungs.com>
## Created: <2006-08-08>
-## Time-stamp: <Thursday Jun 12, 2008 12:29:31 steve>
+## Time-stamp: <Sunday Jun 19, 2011 12:21:40 steve>
## Redistribution and use in source and binary forms, with or without
## modification, are permitted provided that the following conditions
# Version info.
VERSION=@VERSION@
-COPYRIGHT="Copyright (C) 2006 - 2008 Steve Youngs <steve@sxemacs.org>"
+COPYRIGHT="Copyright (C) 2006 - 2011 Steve Youngs <steve@steveyoungs.com>"
version_str="${ourname}: ${VERSION}
${COPYRIGHT}"
/* zdiscid.c -- Print the CDDB disc ID for an audio CD */
/*
- * Copyright (C) 2006, 2007 Steve Youngs
+ * Copyright (C) 2006 - 2011 Steve Youngs
*/
/*
- * Author: Steve Youngs <steve@sxemacs.org>
- * Maintainer: Steve Youngs <steve@sxemacs.org>
- * Created: <2006-08-13>
+ * Author: Steve Youngs <steve@steveyoungs.com>
+ * Maintainer: Steve Youngs <steve@steveyoungs.com>
+ * Created: <2006-08-13>
*/
/*