handle directory name changes for myplc-docs package as well
authorS.Çağlar Onur <caglar@cs.princeton.edu>
Thu, 6 Jan 2011 16:39:32 +0000 (11:39 -0500)
committerS.Çağlar Onur <caglar@cs.princeton.edu>
Thu, 6 Jan 2011 16:39:32 +0000 (11:39 -0500)
myplc-docs.spec

index b645b6b..dd71f7b 100644 (file)
@@ -40,6 +40,12 @@ http://svn.planet-lab.org/wiki/MyPLCUserGuide
 %build
 rm -rf $RPM_BUILD_ROOT
 
+# using the new lowercase names, and handling legacy
+[ -d PLCAPI ] || ln -s plcapi PLCAPI
+[ -d Monitor ] || ln -s monitor Monitor
+[ -d NodeManager ] || ln -s nodemanager NodeManager
+[ -d MyPLC ] || ln -s myplc MyPLC
+
 pushd PLCAPI
 # beware that making the pdf file somehow overwrites the html
 make -C doc PLCAPI.pdf