Bugfixes (tab vs. space) and make install from cvs directly
git-svn-id: https://fhem.svn.sourceforge.net/svnroot/fhem/trunk/fhem@351 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
8
Makefile
8
Makefile
@@ -19,11 +19,11 @@ install:install-base
|
|||||||
@echo perl $(BINDIR)/fhem.pl $(VARDIR)/fhem.cfg
|
@echo perl $(BINDIR)/fhem.pl $(VARDIR)/fhem.cfg
|
||||||
|
|
||||||
install-pgm2:install-base
|
install-pgm2:install-base
|
||||||
cp webfrontend/pgm2/* $(MODDIR)/FHEM
|
cp -r webfrontend/pgm2/* $(MODDIR)/FHEM
|
||||||
cp docs/commandref.html docs/faq.html docs/HOWTO.html $(MODDIR)/FHEM
|
cp docs/commandref.html docs/faq.html docs/HOWTO.html $(MODDIR)/FHEM
|
||||||
-mv $(VARDIR)/fhem.cfg $(VARDIR)/fhem.cfg.`date "+%Y-%m-%d_%H:%M:%S"`
|
-mv $(VARDIR)/fhem.cfg $(VARDIR)/fhem.cfg.`date "+%Y-%m-%d_%H:%M:%S"`
|
||||||
cp examples/sample_pgm2 $(VARDIR)/fhem.cfg
|
cp examples/sample_pgm2 $(VARDIR)/fhem.cfg
|
||||||
cd examples; for i in *; do cp $$i $(MODDIR)/FHEM/example.$$i; done
|
cd examples; for i in *; do cp -r $$i $(MODDIR)/FHEM/example.$$i; done
|
||||||
@echo
|
@echo
|
||||||
@echo
|
@echo
|
||||||
@echo Edit $(VARDIR)/fhem.cfg then type
|
@echo Edit $(VARDIR)/fhem.cfg then type
|
||||||
@@ -34,8 +34,8 @@ install-base:
|
|||||||
cp fhem.pl $(BINDIR)
|
cp fhem.pl $(BINDIR)
|
||||||
cp -r FHEM $(MODDIR)
|
cp -r FHEM $(MODDIR)
|
||||||
mkdir -p $(VARDIR)
|
mkdir -p $(VARDIR)
|
||||||
perl -pi -e 's,modpath \.,modpath $(MODDIR),' examples/*
|
perl -pi -e 's,modpath \.,modpath $(MODDIR),' examples/[a-z]*
|
||||||
perl -pi -e 's,/tmp,$(VARDIR),' examples/*
|
perl -pi -e 's,/tmp,$(VARDIR),' examples/[a-z]*
|
||||||
|
|
||||||
dist:
|
dist:
|
||||||
@echo Version is $(VERS), Date is $(DATE)
|
@echo Version is $(VERS), Date is $(DATE)
|
||||||
|
|||||||
Reference in New Issue
Block a user