Commits

Anonymous committed 26d9ae3

Incorrect definition for wildcard matching. Added informative message when running make with no args

Comments (0)

Files changed (1)

 
 SCRIPTS=${SRCDIR}/ganglia-logtailer
 
-MODULES="${SRCDIR}/*.py"
-
+MODULES=`ls ${SRCDIR}/*.py`
 
 all:
+	@echo "======================= WAIT ========================"
+	@echo "You need to supply a target. Available targets are"
+	@echo "make (install|deb|source-deb|debclean)"	
+	@echo "Files will be installed in ${DESTDIR}"
+	@echo "To override type make DESTDIR=/opt install"
+	@echo "====================================================="
 
 install:
 	install -d ${DESTDIR}/var/lib/ganglia-logtailer
 	install -m 0644 ${MODULES} ${DESTDIR}/usr/share/ganglia-logtailer
 
 clean:
+	@echo "Nothing to do yet"
 
 deb:
 	debuild -uc -us -i -b