Translations by Sunjae Park
Sunjae Park has submitted the following strings to this translation. Contributions are visually coded: currently used translations, unreviewed suggestions, rejected suggestions.
1 → 4 of 4 results | First • Previous • Next • Last |
402. |
For <application>hello</application>, you will also not need <filename>README.Debian</filename> (README file for specific Debian issues, not the program's README), <filename>dirs</filename> (used by <application>dh_installdirs</application> to create needed directories), <filename>docs</filename> (used by <application>dh_installdocs</application> to install program documentation), or <filename>info</filename> (used by <application>dh_installinfo</application> to install the info file) files into the <filename>debian</filename> directory. For more information on these files, see <xref linkend="appendix-examples"/>.
|
|
2006-05-03 |
<filename>README.Debian</filename>(프로그램 일반적인 사항을 담은 README가 아니라 데비안에만 해당하는 사항을 담은 README)이나 <filename>dirs</filename>(필요한 디렉토리를 <application>dh_installdirs</application> 프로그램을 통해 만들 때 사용), <filename>docs</filename>(문서를 <application>dh_installdocs</application> 프로그램을 통해 설치하고자 할 때 사용), <filename>info</filename>(info 파일을 <application>dh_installinfo</application> 프로그램을 통해 설치하고자 할 때 사용) 역시 꼭 필요한 것은 아닙니다. 자세한 정보는 <xref linkend="appendix-examples"/>를 참조해 주십시오.
|
|
410. |
The last file we need to look at is <filename>rules</filename>, where the power of <application>debhelper</application> scripts can be seen. The <application>debhelper</application> version of <filename>rules</filename> is somewhat smaller (54 lines as opposed to 72 lines in the version from <xref linkend="basic-scratch-rules"/>).
|
|
2006-05-03 |
마지막으로 봐야할 파을은 <filename>rules</filename>입니다. 이 파일에서 <application>debhelper</application> 스크립트의 기능을 확인해보실 수 있습니다. <filename>rules</filename>의 54줄 짜리 <application>debhelper</application>용 버전은 72줄 짜리 <xref linkend="basic-scratch-rules"/>용 버전보다 좀 짧습니다.
|
|
412. |
#!/usr/bin/make -f
package = hello-debhelper
CC = gcc
CFLAGS = -g -Wall
ifeq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
CFLAGS += -O2
endif
#export DH_VERBOSE=1
clean:
dh_testdir
dh_clean
rm -f build
-$(MAKE) -i distclean
install: build
dh_clean
dh_installdirs
$(MAKE) prefix=$(CURDIR)/debian/$(package)/usr \
mandir=$(CURDIR)/debian/$(package)/usr/share/man \
infodir=$(CURDIR)/debian/$(package)/usr/share/info \
install
build:
./configure --prefix=/usr
$(MAKE) CC="$(CC)" CFLAGS="$(CFLAGS)"
touch build
binary-indep: install
# There are no architecture-independent files to be uploaded
# generated by this package. If there were any they would be
# made here.
binary-arch: install
dh_testdir -a
dh_testroot -a
dh_installdocs -a NEWS
dh_installchangelogs -a ChangeLog
dh_strip -a
dh_compress -a
dh_fixperms -a
dh_installdeb -a
dh_shlibdeps -a
dh_gencontrol -a
dh_md5sums -a
dh_builddeb -a
binary: binary-indep binary-arch
.PHONY: binary binary-arch binary-indep clean checkroot
|
|
2006-05-03 |
#!/usr/bin/make -f
package = hello-debhelper
CC = gcc
CFLAGS = -g -Wall
ifeq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
CFLAGS += -O2
endif
#export DH_VERBOSE=1
clean:
dh_testdir
dh_clean
rm -f build
-$(MAKE) -i distclean
install: build
dh_clean
dh_installdirs
$(MAKE) prefix=$(CURDIR)/debian/$(package)/usr \
mandir=$(CURDIR)/debian/$(package)/usr/share/man \
infodir=$(CURDIR)/debian/$(package)/usr/share/info \
install
build:
./configure --prefix=/usr
$(MAKE) CC="$(CC)" CFLAGS="$(CFLAGS)"
touch build
binary-indep: install
# There are no architecture-independent files to be uploaded
# generated by this package. If there were any they would be
# made here.
binary-arch: install
dh_testdir -a
dh_testroot -a
dh_installdocs -a NEWS
dh_installchangelogs -a ChangeLog
dh_strip -a
dh_compress -a
dh_fixperms -a
dh_installdeb -a
dh_shlibdeps -a
dh_gencontrol -a
dh_md5sums -a
dh_builddeb -a
binary: binary-indep binary-arch
.PHONY: binary binary-arch binary-indep clean checkroot
|
|
413. |
Notice that tasks like testing if you are in the right directory (<application>dh_testdir</application>), making sure you are building the package with root privileges (<application>dh_testroot</application>), installing documentation (<application>dh_installdocs</application> and <application>dh_installchangelogs</application>), and cleaning up after the build (<application>dh_clean</application>) are handled automatically. Many packages much more complicated than <application>hello</application> have <filename>rules</filename> files no bigger because the <application>debhelper</application> scripts handle most of the tasks. For a complete list of <application>debhelper</application> scripts, please see <xref linkend="appendix-debhelper"/>. They are also well documented in their respective <application>man</application> pages. It is a useful exercise to read the man page (they are well written and not lengthy) for each helper script used in the above <filename>rules</filename> file.
|
|
2006-05-03 |
참고로, 현재 올바른 디렉트리에 있는지(<application>dh_testdir</application>), 루트 권한으로 패키지를 빌드하고 있는지(<application>dh_testroot</application>) 확인하는 작업, 문서를 설치하고((<application>dh_installdocs</application>와 <application>dh_installchangelogs</application>), 빌드가 끝난 후 정리하는 작업(<application>dh_clean</application>)은 모두 자동으로 처리됩니다. <application>hello</application> 패키지보다 훨씬 복잡한 패키지들도 filename>rules</filename>파일의 크기가 별반 다르지 않습니다. 그 이유는 <application>debhelper</application> 스크립트에서 필요한 작업을 대부분 처리하기 때문입니다. <application>debhelper</application> 스크립트의 완전한 목록을 보기 위해서는 <xref linkend="appendix-debhelper"/>를 참조하시기 바랍니다. 이 스크립트들에 관한 정보는 <application>man</application>페이지에도 잘 정리되어 있습니다. 앞에 <filename>rules</filename> 파일에 있는 스크립트 맨페이지에 해당 스크립트에 관한 설명이 잘 정리되어 있고 길이가 길지 않기 때문에 맨페이지를 읽는 것을 권장합니다.
|