Skip to content
Snippets Groups Projects
Commit d5d226e8 authored by Leigh B Stoller's avatar Leigh B Stoller
Browse files

Add a clientside source tarball target. Also an unfinished source rpm

target; lots to do on this.
parent 707de04f
No related branches found
No related tags found
No related merge requests found
...@@ -246,6 +246,18 @@ client-tarball: ...@@ -246,6 +246,18 @@ client-tarball:
echo "Creating tarball..." echo "Creating tarball..."
tar czf emulab-client.tar.gz -C $(TARBALLDESTDIR) . tar czf emulab-client.tar.gz -C $(TARBALLDESTDIR) .
client-src-tarball:
@rm -f emulab-client-src.tar.gz
tar clzf emulab-client-src.tar.gz -C clientside
# This is not finished yet.
client-shadow-rpm:
-$(RM) -rf rpmbuild
$(MKDIR_P) rpmbuild/SOURCES rpmbuild/SRPMS
$(CP) emulab-client-src.tar.gz rpmbuild/SOURCES
$(RPM) -v -bs --nodeps --define='_topdir $(TOPDIR)/rpmbuild' \
clientside/shadow.spec
destdircheck: destdircheck:
@if [ -z "$(DESTDIR)" ]; then \ @if [ -z "$(DESTDIR)" ]; then \
echo "You must define DESTDIR for this target!"; \ echo "You must define DESTDIR for this target!"; \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment