소스 검색

Move to /usr and make use of RPM macros

Alois Mahdal 6 년 전
부모
커밋
6549634e52
3개의 변경된 파일6개의 추가작업 그리고 6개의 파일을 삭제
  1. 1
    1
      packaging/debian/rules
  2. 1
    1
      packaging/debian/shellfu-bash-saturnin.install
  3. 4
    4
      packaging/template.spec

+ 1
- 1
packaging/debian/rules 파일 보기

@@ -6,7 +6,7 @@
6 6
 
7 7
 override_dh_auto_install:
8 8
 
9
-	make install DESTDIR=debian/tmp
9
+	make install PREFIX=/usr DESTDIR=debian/tmp
10 10
 
11 11
 override_dh_usrlocal:
12 12
 

+ 1
- 1
packaging/debian/shellfu-bash-saturnin.install 파일 보기

@@ -1 +1 @@
1
-/usr/local/share/shellfu/include-bash/saturnin.sh
1
+/usr/share/shellfu/include-bash/saturnin.sh

+ 4
- 4
packaging/template.spec 파일 보기

@@ -25,14 +25,14 @@ of discoverable and maintainable sub-commands.
25 25
 
26 26
 %build
27 27
 # %%configure
28
-make %{?_smp_mflags}
28
+make %{?_smp_mflags} PREFIX=/usr
29 29
 
30 30
 %install
31
-%make_install
31
+%make_install PREFIX=/usr
32 32
 
33 33
 %files
34
-%doc /usr/local/share/shellfu-bash-saturnin/README.md
35
-/usr/local/share/shellfu/include-bash/saturnin.sh
34
+%doc %{_docdir}/%{name}/README.md
35
+%{_datadir}/shellfu/include-bash/saturnin.sh
36 36
 
37 37
 
38 38
 %changelog