Author: cfinck
Date: Mon Jun 18 15:58:35 2007
New Revision: 27223
URL:
http://svn.reactos.org/svn/reactos?rev=27223&view=rev
Log:
Fix bug #2312 and add a check to show only the relevant information for Windows/Unix
users
See issue #2312 for more details.
Modified:
trunk/rosapps/makefile
Modified: trunk/rosapps/makefile
URL:
http://svn.reactos.org/svn/reactos/trunk/rosapps/makefile?rev=27223&r1=…
==============================================================================
--- trunk/rosapps/makefile (original)
+++ trunk/rosapps/makefile Mon Jun 18 15:58:35 2007
@@ -3,11 +3,18 @@
@echo ---
@echo 1. copy the rosapps folder into the reactos\modules folder
@echo 2. link reactos/modules/rosapps to rosapps
- @echo UNIX
- @echo cd $${ROS_SRC_ROOT}/reactos/modules
- @echo ln -s $${ROS_SRC_ROOT}/rosapps rosapps
- @echo WINDOWS
- @echo cd %%ROS_SRC_ROOT%%\reactos\modules
- @echo junction rosapps %%ROS_SRC_ROOT%%\rosapps
+
+ifeq ($(shell uname),)
+# Information for Windows users
+
+ @echo cd %%_ROSSOURCEDIR%%\reactos\modules
+ @echo junction rosapps %%_ROSSOURCEDIR%%\rosapps
+else
+# Information for UNIX users
+
+ @echo " cd \$$_ROSSOURCEDIR/reactos/modules"
+ @echo " ln -s \$$_ROSSOURCEDIR/rosapps rosapps"
+endif
+
@echo ---
@echo Eventually you can run "make depends" in the \reactos directory to
compile it.