added ftp upload to sync target
This commit is contained in:
parent
6626600c6a
commit
567dbd584a
6
Makefile
6
Makefile
@ -44,8 +44,12 @@ $(BIN): $(OBJS) $(DEPS)
|
||||
|
||||
%.d: ;
|
||||
|
||||
sync: $(CODE)
|
||||
sync: $(CODE) code/index.html
|
||||
rsync -av code/ pi@www.swiftcoder.nl:/var/www/html/cpp1/
|
||||
@for f in $(CODE) code/index.html ;\
|
||||
do \
|
||||
curl -nT $$f ftp://student.aii.avans.nl/doc/rpbpolis1/ ;\
|
||||
done
|
||||
|
||||
clean:
|
||||
$(RM) $(OBJS) $(DEPS) $(BIN)
|
||||
|
Loading…
x
Reference in New Issue
Block a user