Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
E
elphel-apps-autocampars
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Elphel
elphel-apps-autocampars
Commits
e0bdeeae
Commit
e0bdeeae
authored
Nov 07, 2016
by
Andrey Filippov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
working on autocampars.php
parent
a037a3b8
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1458 additions
and
975 deletions
+1458
-975
Makefile
src/Makefile
+16
-11
autocampars.php
src/autocampars.php
+1442
-964
No files found.
src/Makefile
View file @
e0bdeeae
LN
=
ln
PROGS
=
autocampars launch_php_script
PHPSCRIPTS
=
autocampars.php
PYSCRIPTS
=
autocampars.py
WWW_PAGES
=
/www/pages
SRCS
=
autocampars.c launch_php_script.c
#OBJS = $(SRC:.c=.o)
OBJS
=
autocampars.o launch_php_script.o
BINDIR
=
$(DESTDIR)
/usr/bin
SYSCONFDIR
=
$(DESTDIR)
/etc
BINDIR
=
/usr/bin
SYSCONFDIR
=
/etc
CONFDIR
=
$(SYSCONFDIR)
/elphel393
DOCUMENTROOT
=
$(DESTDIR)
/www/pages
AUTOCAMPARS_PHP
=
/www/pages/autocampars.php
AUTOCAMPARS_PHP
=
$(WWW_PAGES)
/autocampars.php
INSTALL
=
install
INSTMODE
=
0755
...
...
@@ -33,13 +35,16 @@ launch_php_script: launch_php_script.o
$(CC)
$(LDFLAGS)
$^
$(LDLIBS)
-o
$@
install
:
$(PROGS) $(PHPSCRIPTS)
$(INSTALL)
-d
$(BINDIR)
$(INSTALL)
-d
$(DOCUMENTROOT)
$(INSTALL)
-d
$(SYSCONFDIR)
$(INSTALL)
-d
$(CONFDIR)
$(INSTALL)
$(OWN)
-m
$(INSTMODE)
$(PROGS)
$(BINDIR)
$(INSTALL)
$(OWN)
-m
$(INSTMODE)
$(PHPSCRIPTS)
$(DOCUMENTROOT)
install
:
$(PROGS) $(PHPSCRIPTS) $(PYSCRIPTS)
$(INSTALL)
-d
$(DESTDIR)$(BINDIR)
$(INSTALL)
-d
$(DESTDIR)$(WWW_PAGES)
$(INSTALL)
-d
$(DESTDIR)$(SYSCONFDIR)
$(INSTALL)
-d
$(DESTDIR)$(CONFDIR)
$(INSTALL)
$(OWN)
-m
$(INSTMODE)
$(PROGS)
$(DESTDIR)$(BINDIR)
$(INSTALL)
$(OWN)
-m
$(INSTMODE)
$(PYSCRIPTS)
$(DESTDIR)$(BINDIR)
$(INSTALL)
$(OWN)
-m
$(INSTMODE)
$(PHPSCRIPTS)
$(DESTDIR)$(BINDIR)
$(LN)
-sf
$(BINDIR)
/autocampars.py
$(DESTDIR)$(WWW_PAGES)
/autocampars.py
$(LN)
-sf
$(BINDIR)
/autocampars.php
$(DESTDIR)$(WWW_PAGES)
/autocampars.php
clean
:
rm
-rf
$(PROGS)
*
.o core .depend
...
...
src/autocampars.php
View file @
e0bdeeae
This source diff could not be displayed because it is too large. You can
view the blob
instead.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment