Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
E
elphel-apps-camogm
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-camogm
Commits
5e41595d
Commit
5e41595d
authored
Jan 16, 2017
by
Mikhail Karpenko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Move format_disk installation to a separate makefile
parent
2f0a2331
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
23 additions
and
5 deletions
+23
-5
Makefile
Makefile
+1
-1
Makefile
src/Makefile
+1
-4
Makefile
src/format_disk/Makefile
+21
-0
No files found.
Makefile
View file @
5e41595d
# Runs 'make', 'make install', and 'make clean' in specified subdirectories
SUBDIRS
:=
src
SUBDIRS
:=
src
src/format_disk
INSTALLDIRS
=
$
(
SUBDIRS:%
=
install-%
)
CLEANDIRS
=
$
(
SUBDIRS:%
=
clean-%
)
...
...
src/Makefile
View file @
5e41595d
GUIDIR
=
camogmgui
PROGS
=
camogm
TEST_PROG
=
camogm_test
EXESCRIPTS
=
format_disk/format_disk.py
PHPSCRIPTS
=
camogmstate.php
$(GUIDIR)
/camogmgui.php
$(GUIDIR)
/camogmgui.css
$(GUIDIR)
/camogmgui.js
$(GUIDIR)
/camogm_interface.php
\
$(GUIDIR)
/SpryTabbedPanels.css
$(GUIDIR)
/SpryTabbedPanels.js
$(GUIDIR)
/xml_simple.php
$(GUIDIR)
/SpryCollapsiblePanel.css
\
$(GUIDIR)
/SpryCollapsiblePanel.js
...
...
@@ -23,7 +22,6 @@ INSTALL = install
INSTMODE
=
0755
INSTDOCS
=
0644
OWN
=
-o
root
-g
root
LN
=
ln
-sf
SYSCONFDIR
=
/etc/
BINDIR
=
/usr/bin/
...
...
@@ -37,11 +35,10 @@ $(PROGS): $(OBJS)
$(TEST_PROG)
:
$(TEST_SRC:.c=.o)
install
:
$(PROGS) $(PHPSCRIPTS) $(CONFIGS)
$(EXESCRIPTS)
install
:
$(PROGS) $(PHPSCRIPTS) $(CONFIGS)
$(INSTALL)
$(OWN)
-d
$(DESTDIR)$(BINDIR)
$(INSTALL)
$(OWN)
-m
$(INSTMODE)
$(PROGS)
$(DESTDIR)$(BINDIR)
$(INSTALL)
$(OWN)
-m
$(INSTMODE)
$(TEST_PROG)
$(DESTDIR)$(BINDIR)
$(INSTALL)
$(OWN)
-m
$(INSTMODE)
$(EXESCRIPTS)
$(DESTDIR)$(BINDIR)
$(INSTALL)
$(OWN)
-d
$(DESTDIR)$(SYSCONFDIR)
$(INSTALL)
$(OWN)
-m
$(INSTDOCS)
$(CONFIGS)
$(DESTDIR)$(SYSCONFDIR)
$(INSTALL)
$(OWN)
-d
$(DESTDIR)$(WWW_PAGES)
...
...
src/format_disk/Makefile
0 → 100644
View file @
5e41595d
BINDIR
=
/usr/bin
DOCUMENTROOT
=
/www/pages
INSTALL
=
install
INSTMODE
=
0755
INSTDOCS
=
0644
OWN
=
-o
root
-g
root
LN
=
ln
-sf
# executable scripts will go to $(BINDIR)
EXESCRIPTS
=
format_disk.py
DOCS
=
format_disk.js format_disk.php
all
:
$(SCRIPTS) $(DOCS)
install
:
$(EXESCRIPTS) $(DOCS)
$(INSTALL)
$(OWN)
-d
$(DESTDIR)$(BINDIR)
$(INSTALL)
$(OWN)
-d
$(DESTDIR)$(DOCUMENTROOT)
$(INSTALL)
$(OWN)
-m
$(INSTMODE)
$(EXESCRIPTS)
$(DESTDIR)$(BINDIR)
$(INSTALL)
$(OWN)
-m
$(INSTDOCS)
$(DOCS)
$(DESTDIR)$(DOCUMENTROOT)
clean
:
\ No newline at end of file
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