Browse Source

Hack to find script automatically

Rob Austein 3 years ago
parent
commit
eba06e6d2a
1 changed files with 3 additions and 1 deletions
  1. 3 1
      GNUmakefile

+ 3 - 1
GNUmakefile

@@ -1,3 +1,5 @@
+HERE := $(dir $(abspath $(lastword $(MAKEFILE_LIST))))
+
 # Sample settings, tweak for particular jobs on make command line or
 # Sample settings, tweak for particular jobs on make command line or
 # via environment variables.
 # via environment variables.
 
 
@@ -6,7 +8,7 @@ SOURCE_TRAC_DB		:= bikeshed.cryptech.is:/home/trac/db/trac.db
 SOURCE_TRAC_ATTACHMENTS := bikeshed.cryptech.is:/home/trac/files/attachments
 SOURCE_TRAC_ATTACHMENTS := bikeshed.cryptech.is:/home/trac/files/attachments
 
 
 all:
 all:
-	./extract.py --source-url ${SOURCE_URL}
+	${HERE}/extract.py --source-url ${SOURCE_URL}
 	cd pelican; pelican --output website --settings pelicanconf.py --fatal errors content
 	cd pelican; pelican --output website --settings pelicanconf.py --fatal errors content
 
 
 fetch:
 fetch: