File tree 4 files changed +13
-6
lines changed
4 files changed +13
-6
lines changed Original file line number Diff line number Diff line change 1
1
* ~
2
2
* #
3
3
rosemacs /rosemacs-config.el
4
- slime_ros /sbclrc
4
+ slime_ros /sbclrc-ros
5
5
slime_ros /slime-config.el
Original file line number Diff line number Diff line change @@ -10,8 +10,8 @@ catkin_package()
10
10
###############
11
11
12
12
configure_file (
13
- ${PROJECT_SOURCE_DIR} /sbclrc.in
14
- ${PROJECT_SOURCE_DIR} /sbclrc)
13
+ ${PROJECT_SOURCE_DIR} /sbclrc-ros .in
14
+ ${PROJECT_SOURCE_DIR} /sbclrc-ros )
15
15
configure_file (
16
16
${PROJECT_SOURCE_DIR} /slime-config.el.in
17
17
${PROJECT_SOURCE_DIR} /slime-config.el)
@@ -20,7 +20,7 @@ configure_file(
20
20
## Install ##
21
21
#############
22
22
23
- install (FILES slime-config.el sbclrc
23
+ install (FILES slime-config.el sbclrc-ros
24
24
DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION} )
25
25
26
26
install (FILES slime-ros.el
Original file line number Diff line number Diff line change
1
+ ;;; AUTOGENERATED FILE, PLEASE DO NOT EDIT: USE ~/.sbclrc INSTEAD
1
2
2
3
;;; asdf source registry entries
3
4
(require 'asdf)
Original file line number Diff line number Diff line change 2
2
3
3
SLIME_ROS_DIR=$( rospack find slime_ros)
4
4
5
- [ -f ${HOME} /.sbclrc ] ||
6
- cp ${SLIME_ROS_DIR} /sbclrc ${HOME} /.sbclrc
5
+ [ -f ${HOME} /.sbclrc ] && grep -Fq " ###sbclrc-ros###" ${HOME} /.sbclrc ||
6
+ echo "
7
+ ;;; AUTOGENERATED PART. PLEASE DO NOT DELETE THIS AND THE FOLLOWING 2 LINES
8
+ ;;; ###sbclrc-ros### SLIME ROS RELATED STUFF
9
+ (load (merge-pathnames (make-pathname :name \" .sbclrc-ros\" ) (user-homedir-pathname)))
10
+ " >> ${HOME} /.sbclrc
11
+
12
+ cp ${SLIME_ROS_DIR} /sbclrc-ros ${HOME} /.sbclrc-ros
You can’t perform that action at this time.
0 commit comments