Commit 81fae339 authored by Florent Lamiraux's avatar Florent Lamiraux
Browse files

Add log target

  - write the list of packages with their commit id.
parent a5fce42a
...@@ -152,6 +152,13 @@ status: ...@@ -152,6 +152,13 @@ status:
cd ..; \ cd ..; \
done done
log:
@for child_dir in $$(ls ${SRC_DIR}); do \
test -d "$$child_dir" || continue; \
test -d "$$child_dir/.git" || continue; \
${MAKE} "$$child_dir".log; \
done
update: update:
for d in hpp-util hpp-model hpp-model-urdf hpp-core hpp-template-corba hpp-corbaserver hpp-constraints hpp-wholebody-step hpp-wholebody-step-corba hpp_ros hpp-manipulation hpp-manipulation-corba airbus_ros airbus_environment hpp-doc ; do \ for d in hpp-util hpp-model hpp-model-urdf hpp-core hpp-template-corba hpp-corbaserver hpp-constraints hpp-wholebody-step hpp-wholebody-step-corba hpp_ros hpp-manipulation hpp-manipulation-corba airbus_ros airbus_environment hpp-doc ; do \
echo "Updating $$d";\ echo "Updating $$d";\
...@@ -198,6 +205,14 @@ update: ...@@ -198,6 +205,14 @@ update:
%.status: %.status:
cd ${SRC_DIR}/$(@:.status=); git status cd ${SRC_DIR}/$(@:.status=); git status
%.log:
@cd ${SRC_DIR}/$(@:.log=); \
if [ -f .git/refs/heads/${$(@:.log=)_branch} ]; then \
echo -n "$(@:.log=): "; \
cat .git/refs/heads/${$(@:.log=)_branch}; \
fi
hpp-doc.configure: hpp-doc.checkout hpp-doc.configure: hpp-doc.checkout
cd ${SRC_DIR}/$(@:.configure=);\ cd ${SRC_DIR}/$(@:.configure=);\
./bootstrap;\ ./bootstrap;\
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment